This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Removing annoying warnings
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Subject: Removing annoying warnings
- From: Loïc Joly <Loic dot Joly at renault dot com>
- Date: Wed, 22 Aug 2001 20:08:19 +0200
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.