Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Another thing struck me: > > * Paul Eggert wrote on Wed, Mar 01, 2006 at 01:48:54AM CET: >> (AC_HEADER_STDBOOL): Don't assume "#error" works.
Glad you spotted that. ... > This technique is not followed consistently in gnulib (unlike Autoconf). > I remember that `#error' does not provoke failure everywhere, but don't > remember the offending compiler/system. > > But there is even a patch to the contrary in gnulib, from coreutils: > > | 2005-08-27 Jim Meyering <[EMAIL PROTECTED]> > | > | * md5.c: Use `#error' rather than a string literal to provoke > failure. > | * sha1.c: Likewise. > > I could not find corresponding discussion or bug reports. What's the > gist of this? There had been uses of #error in coreutils for so long without complaint, so I felt comfortable with making the above change. Paul, have you found a reasonable porting target (always the key :-) on which #error doesn't work? _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib