warning: .../O0g.gch: not used because `__NO_INLINE__' not defined
Paolo Carlini
pcarlini@suse.de
Thu Jul 6 09:07:00 GMT 2006
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.
More information about the Libstdc++
mailing list