New cpp0 warning in 3.1 breaks configure (autoconf)
Phil Edwards
phil@jaj.com
Sun Jun 9 21:49:00 GMT 2002
On Sat, Jun 08, 2002 at 12:44:07AM +0200, H}kan Hjort wrote:
> And reports in that thread of extra failurs in the testsuite from this
> change.
Yep.
> Further evidens of problems with these warnings can be found here
> http://gcc.gnu.org/ml/gcc-bugs/2002-04/msg00149.html
>
> Where can the forbidden directories be found?
> (Guessing based on gcc -v -E ..., /usr/local/include /usr/include)
Pretty much. Any of the "standard system" directories on a particular
platform, also (IIRC) any of the include directories under the --prefix
directory. Which means you must be careful installing symlinks to the
compiler.
> Is there anyway to get rid of this warning?
Nope.
> Why is it on by default?
Nobody knows.
> How are one supposed to workaround this in configure scripts?
You can't. I changed my local copy of the compiler sources to no longer
warn about it.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams
More information about the Gcc-bugs
mailing list