This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: warning: .../O0g.gch: not used because `__NO_INLINE__' not defined
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: pcarlini at suse dot de, libstdc++ at gcc dot gnu dot org
- Date: Thu, 6 Jul 2006 00:40:00 -0500
- Subject: Re: warning: .../O0g.gch: not used because `__NO_INLINE__' not defined
- References: <44AA98CC.7080601@suse.de> <20060705105922.df23fc06.bkoz@redhat.com>
> -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