* doc/autoconf.texi (C Compiler): `#line' portability.

From Paul Eggert and Nelson H. F. Beebe.
This commit is contained in:
Akim Demaille 2003-03-28 14:51:30 +00:00
parent 277b398bea
commit 5e4393abd6
2 changed files with 12 additions and 0 deletions

View File

@ -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

View 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})