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


Benjamin Kosnik wrote:

-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.

Ok with me Benjamin. Out of curiosity, why this problem did not exist some time ago? (the warning is of course triggered when doing make clean; make and I would have noticed...)

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


I saw the patch, thanks a lot.

Paolo.


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