This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: -Wshadow and older versions of gcc


Hi Alan,

I've had reason to build recent binutils on older systems, and often
run into build errors due to -Wshadow.  Other people do too.  eg.
http://sourceware.org/ml/binutils/2010-01/msg00334.html
I propose we turn off -Wshadow unless using gcc-4.  Comments?

I think that this is a good idea. Enabling -Wshadow has been controversial enough without having it break builds with older toolchains.


Cheers
  Nick


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