This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is there any flags to disable warning and/or errors given by GCC 4.3.3?
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: Naganna <genaganna at vizexperts dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 22 Mar 2009 23:08:44 +1100
- Subject: Re: Is there any flags to disable warning and/or errors given by GCC 4.3.3?
- References: <49C5DCB5.6040504@vizexperts.com>
Hi.
This question is not really suitable for the GCC mailing list; this is a
list for discussing GCC development. The right place to send such
questions is gcc-help@gcc.gnu.org. Thanks.
> I am not able compile my project with GCC 4.3.3 C++. My project
> was compiled by GCC 4.1.x.
It's a common situation.
> Is there any flags to disable warning and/or errors given by GCC
> 4.3.3?
You can do that using -Wno-<warning-name>, but:
> I should remove and/or change code to eliminate warning and/or
> error?
You should fix your code so that it complies with the C++ standard (that
GCC 4.3 will be more strictly enforcing).
Cheers, Ben