Hello,
Enjoying LAM as always, but I have a quick question.
mpic++ adds "-I/usr/local/include" to the search path. On g++ 3.1 on
MacOS X, this generates the unsightly compiler warning:
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
Evidently, gcc doesn't like system include directories being -I'ed:
It is dangerous to specify a standard system include
directory in an -I option. This defeats the special
treatment of system headers . It can also defeat the
repairs to buggy system headers which GCC makes when
it is installed. (gcc man page)
Is there some way to override the -I/usr/local/include? (or, some way to
override the gcc warning message?)
Thanks,
arun
-----------------------------------
Arun Rodrigues *
http://www.nd.edu/~arodrig6 *
-----------------------------------
|