C++ style comments within C90 code and -pedantic

Frenzy frenzy@frenzy.org
Fri Apr 29 23:29:00 GMT 2005


I am compiling a C program which I want to be warning free with the
-pedantic flag. 
I would also like to be able to ignore C++ style comment warnings ala  
    "warning: C++ style comments are not allowed in ISO C90"

Is there a -Wno flag which would turn on off this warning?

I've noticed a question on this in the archives, but it wasn't really
answered. http://gcc.gnu.org/ml/gcc-help/2003-07/msg00385.html

Thanks for the help.

Randy



More information about the Gcc-help mailing list