Subject: gcc-ansi -pedantic and long long on NetBSD
To: None <matthieu@laas.fr>
From: Gordon W. Ross <gwr@jericho.mc.com>
List: current-users
Date: 10/31/1994 08:29:23
> Date: Sun, 30 Oct 1994 12:32:09 --100
> From: matthieu@laas.fr (Matthieu Herrb)
>
> Hi,
>
> I've noticed that 'gcc -ansi -pedantic' generates a warning on 'long
> long' (used in several includes files, including stdio.h).
>
> The XFree86 Developpement Team is trying to get XFree86 compile
> without warnings with these options. So what is the good solution ?
After reading the GNU CC documentation, I fail to see why anyone
would want to use the -pedantic option. If there are specific
warnings you are concerned about, you could turn them on with
-Wfoo -Wbar Wetc...
Gordon Ross