"Tim Hunter" <cyclists / nc.rr.com> writes:

> If I read the gcc man page correctly, gcc thinks that /usr/local/include
> is a "standard system directory" and should not appear on an -I switch:
> 
>    "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 3.2.1 doesn't complain, anymore.

> I did a quick Google for this message text and learned that apparently it
> was added after 2.95 and has taken many people by surprise. 
> 
> Does mkmf.rb need to be updated to handle gcc 3.2? Is there a way to tell
> mkmf.rb to NOT add the -I/usr/local/include switch? 

Anyway, fixed it in the latest CVS 1.6.8.  Try it.

-- 
eban