Removing annoying warnings

Loïc Joly Loic.Joly@renault.com
Wed Aug 22 11:10:00 GMT 2001


Hello,

I wonder if there is any way to locally disable a warning that I know is
useless (in my case, a warning stating that my class has not public
constructor and no friends, which is normal, since it is a singleton) ?

In the other compiler I know, there is a pragma way to do this, is there
anything similar with g++ ? I loocked in the doc, but could not find
anything.

-- 
Loïc

PS : I am not sure i totally understand the difference between
gcc@gcc.gnu.org and gcc-help@gcc.gnu.org, so please let me know if I
posted in the wrong mailing list.



More information about the Gcc mailing list