This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: warning: .../O0g.gch: not used because `__NO_INLINE__' not defined


> -Winvalid-pch is complaining about this pch, since it is the debug pch
> (ie compiled with -O0).  The next pch is selected in this case (the one
> with -O2).

However, this warning is harmless. I don't see how this could trigger a
build failure because even 

make WERROR="-Werror" 

doesn't apply here. If possible, we want to keep -Winvalid-pch in the
flags when creating PCH files. 

The other bit in your message was an omission, now fixed.

-benjamin


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