Darrell Anderson wrote:
Don't set
CPLUS_INCLUDE_PATH?
I am now doing that. :)
Seriously, I'm not sure why you set that
variable. I never heard
of it before, and usually the safest way to get includes added to
the compiler flags is via CXXFLAGS and CFLAGS.
Long ago in a galaxy far away, when I first joined the project, I
noticed the variable being set in the /etc/profile.d/qt.sh script
that came with the Slackware qt3 package. I presumed the variable was
important.
CPLUS_INCLUDE_PATH is an integral part of gcc, specifically g++.
See the man page.
Of course, that script is for run time and not for
compiling.
Then CPLUS_INCLUDE_PATH doesn't mean anything.
-- Bruce