What does exactly -pedantic mean ??

Alexandre Oliva oliva@dcc.unicamp.br
Fri Aug 21 11:18:00 GMT 1998


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--






More information about the Gcc mailing list