bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: include_next with OSF/1 cc


From: Bruno Haible
Subject: Re: include_next with OSF/1 cc
Date: Sat, 24 Jan 2009 15:03:06 +0100
User-agent: KMail/1.9.9

Gary V. Vaughan wrote:
> !THE FOLLOWING IS A REGRESSION OVER m4-1.4.12, WHICH COMPILES AND
> PASSES ALL TESTS!
> alphaev5-dec-osf4.0d-cc55     fails to compile:
> cc -std  -I.   -ieee  -O2 -nodtk -msym -readonly_strings -c -o
> gl_avltree_oset.o gl_avltree_oset.c
> cc: Warning: ///usr/include.dtk/stdlib.h, line 26: "include_next" is
> an invalid preprocessor directive, and is being ignored.
> #include_next <stdlib.h>
> -^
> cc: Warning: ///usr/include.dtk/stdio.h, line 27: "include_next" is an
> invalid preprocessor directive, and is being ignored.
> #include_next <stdio.h>
> -^

It looks like you set CC="cc -std" and
CFLAGS="-ieee  -O2 -nodtk -msym -readonly_strings". Apparently gnulib
avoids include_next, but the configure tests found out that the location
of the system's <stdlib.h> file is ///usr/include.dtk/stdlib.h. But
when the -nodtk option is in use, this file should not even be seen.

I'd suggest that you use CC="cc -std -nodtk" and
CFLAGS="-ieee  -O2 -msym -readonly_strings".

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]