This is the mail archive of the gcc@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: Changes in C++ FE regarding pedwarns to be errors are harmful



Not at all!!! -fpermissive can (in weird cases, agreed) change code
generation.  I'm pretty sure you don't want to risk that only to silence
an error.

What? That doesn't make any sense. And it is certainly not documented in the manual. I will be very interested in an example, no matter how weird or uncommon.

Uhm, I might be confusing it with -ffriend-injection (which is in some sense more permissive than -fno-friend-injection).


Reading "in some case name lookup will not be standard conforming" in bkoz's document at http://people.redhat.com/~bkoz/porting_to_gcc43.html added to my confusion.

Paolo


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