This is the mail archive of the
gcc-help@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: Andrew Haley <aph at redhat dot com>
- To: Naganna <genaganna at vizexperts dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 22 Mar 2009 18:42:05 +0000
- Subject: Re: Is there any flags to disable warning and/or errors given by GCC 4.3.3?
- References: <49C5E862.6020101@vizexperts.com> <49C5F334.3010804@redhat.com> <49C5F9BE.5070903@vizexperts.com>
Naganna wrote:
> Andrew Haley wrote:
>> Naganna wrote:
>>
>>
>>> I am not able compile my project with GCC 4.3.3 C++. My project was
>>> compiled by GCC 4.1.x.
>>> Is there any flags to disable warning and/or errors given by GCC
>>> 4.3.3?
>>>
>>
>> We don't know because you haven't told us what the problem is.
>>
> [Naganna] see some warnings and errors
>
> 1. explicit template specialization cannot have a storage class
This is part of improved support for Standard C++.
> 2. ‘memcpy’ was not declared in this scope
> I am sure i am able to fix all warning and/or errors myself.
>
> can i disable all warning and/or errors which are introduced in gcc
> 4.3.3 with just one flag?
No. In most cases these are real bugs in programs.
Andrew.