[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with #include_next in gnulib's string_.h on DEC C compiler
From: |
Bruno Haible |
Subject: |
Re: Problems with #include_next in gnulib's string_.h on DEC C compiler |
Date: |
Sun, 27 May 2007 00:52:12 +0200 |
User-agent: |
KMail/1.5.4 |
James Youngman wrote:
> I've had a bug report of compilation failure in some gnulib code from
> someone using
> DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229) on OSF/1 4.0F.
>
> I suspect that the basic problem is that gnulib's string.h uses
> unclude_next but the compiler does not support it:
>
> cc: Warning: ./stdlib.h, line 36: "include_next" is an invalid
> preprocessor directive, and is being ignored. (baddirective)
> # include_next <stdlib.h>
> --^
> ...
>
> I think the code under consideration is this:-
>
> #ifdef __DECC
> # include_next <string.h>
> #endif
This is believed to be fixed by this change:
2007-04-27 Bruno Haible <address@hidden>
* lib/inttypes_.h [_DECC]: Don't use #include_next if the compiler
version is < 6.
* lib/math_.h [__DECC]: Likewise.
* lib/stdio_.h [__DECC]: Likewise.
* lib/stdlib_.h [__DECC]: Likewise.
* lib/string_.h [__DECC]: Likewise.
* lib/time_.h [__DECC]: Likewise.
* lib/wchar_.h [__DECC]: Likewise.
* lib/wctype_.h [__DECC]: Likewise.