From: Akim Demaille Date: Fri, 28 Mar 2003 14:51:30 +0000 (+0000) Subject: * doc/autoconf.texi (C Compiler): `#line' portability. X-Git-Tag: AUTOCONF-2.57a~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e4393abd66da3c2cb6b954fb6ceb36e8095d78c;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (C Compiler): `#line' portability. From Paul Eggert and Nelson H. F. Beebe. --- diff --git a/ChangeLog b/ChangeLog index 18fdbbc92..b6f96ede9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-28 Akim Demaille + + * doc/autoconf.texi (C Compiler): `#line' portability. + From Paul Eggert and Nelson H. F. Beebe. + 2003-03-27 Derek Price * lib/autotest/general.m4: Eliminate main loop and reorganize test diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 6a9c8ab53..9a6ab38ec 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -4985,6 +4985,13 @@ b.c: This can cause problems if you observe the output of the compiler to detect failures. Invoking @samp{cc -c a.c -o a.o; cc -c b.c -o b.o; cc a.o b.o -o c} solves the issue. + +@item Don't rely on correct @code{#line} support +On Solaris 2.8, @command{c89} (Sun WorkShop 6 update 2 C 5.3 Patch +111679-08 2002/05/09)) rejects @code{#line} directives whose line +numbers are greater than 32767. In addition, nothing in @sc{posix} +makes this invalid. That is the reason why Autoconf stopped issuing +@code{#line} directives. @end table @defmac AC_PROG_CC (@ovar{compiler-search-list})