]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (C Compiler): `#line' portability.
authorAkim Demaille <akim@epita.fr>
Fri, 28 Mar 2003 14:51:30 +0000 (14:51 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 28 Mar 2003 14:51:30 +0000 (14:51 +0000)
From Paul Eggert and Nelson H. F. Beebe.

ChangeLog
doc/autoconf.texi

index 18fdbbc92068799539edff31cd6bf7ac9ce94cdb..b6f96ede9ef72d531de06d0ad7540bf8f0167ad7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-28  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (C Compiler): `#line' portability.
+       From Paul Eggert and Nelson H. F. Beebe.
+
 2003-03-27  Derek Price  <derek@ximbiot.com>
 
        * lib/autotest/general.m4: Eliminate main loop and reorganize test
index 6a9c8ab53068a2483ca1b703db5f86da03206027..9a6ab38ec487fed53cdaacc79a73b1f1d77a2b34 100644 (file)
@@ -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})