This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What does exactly -pedantic mean ??
- To: Nyny <Nyny dot sxthree at penfeld dot tls dot mms dot fr>
- Subject: Re: What does exactly -pedantic mean ??
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 21 Aug 1998 15:15:40 -0300
- Cc: egcs <egcs dot egcs at cygnus dot com>
- References: <35DD23B7.567F8172@penfeld.tls.mms.fr>
Nyny <Nyny.sxthree@penfeld.tls.mms.fr> writes:
> I thought -pedantic was just an option to provide "pedantic" warnings.
The info file says:
`-pedantic'
Issue all the warnings demanded by strict ANSI standard C; reject
all programs that use forbidden extensions.
Implicitly discarding volatile is an extension, so it is rejected with
-pedantic mode.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
--PAA23711.903723354/grande.dcc.unicamp.br--