This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH not being used, but I can't tell why
On Mon, Aug 11, 2003 at 11:48:10PM -0700, Geoff Keating wrote:
> > cc1plus: warning: /mnt/build/build-2003-08-11/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/stdc++.h.gch/O0g: not used because `__tune_i686__' not defined
> > cc1plus: warning: /mnt/build/build-2003-08-11/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/stdc++.h.gch/O2g: not used because `__tune_i686__' not defined
> >
> > ...whatever the fsck that means.
>
> It probably means that there's a -mtune= mismatch between building the
> PCH and using it.
Now I'm seeing the same warning because __NO_INLINE__ isn't defined.
(We build the pch with xgcc, but run the testsuite with g++. Maybe that's
causing problems.)
--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
- Brian W. Kernighan