This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] GCC Warnings patrol


On Sun, Feb 24, 2002 at 06:52:32PM -0800, Ryan T. Sammartino wrote:
>   gen_const_vector_0 (type, mode)
> -      enum mode_class type;
> +      enum mode_class type ATTRIBUTE_UNUSED;
>        enum machine_mode mode;

Remove the argument instead.

> - #undef	_GNU_SOURCE
> - #define _GNU_SOURCE
> - 
>   #ifdef HAVE_CONFIG_H
>   # include <config.h>
>   #endif

I'm pretty sure this is wrong.  If this is gcc's config.h, then
it includes header files that would need to have been included
with _GNU_SOURCE set.

Where is the redefinition coming from?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]