[Top][All Lists]

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

Re: `#error' vs string literal

From: Paul Eggert
Subject: Re: `#error' vs string literal
Date: Tue, 07 Mar 2006 09:48:32 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> http://lists.gnu.org/archive/html/autoconf/2005-09/msg00006.html

Yes, that sounds familiar.

The distinction here is that one should probably not rely on #error
within .m4 tests, since the results of the tests might not be
reliable.  But within ordinary C code, #error is fine; people with
losing compilers will simply have to look at the compilers' diagnostic

Advice along these lines should be added to the autoconf manual; I'll
add this to my list of things to do.

reply via email to

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