On Wed, 21 Mar 2012 11:08:42 -0700
Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> Very nice.
And what turned out to be cause of my CPLUS_INCLUDE_PATH typo?
I first thought I just had forgot to delete a :. But, no, this mistake
is even easier to make than that. My /etc/profile had:
export CPLUS_INCLUDE_PATH="$QTDIR/include:$CPLUS_INCLUDE_PATH"
where $CPLUS_INCLUDE_PATH had not been set before. So, taking care
to append rather than to set introduced the problem. FWIW, I have
complied a lot of packages on this system and did not encounter an
unexplained problem related to CPLUS_INCLUDE_PATH until gcc. So,
people might tend to "trust" their system and blame gcc when this
one bites.
Cheers,
Mike
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]