C++ style comments within C90 code and -pedantic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux