autoconf
[Top][All Lists]
Advanced

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

Re: AC_LANG_BOOL_COMPILE_TRY(C) fails with OS vendor compilers


From: Ludovic Courtès
Subject: Re: AC_LANG_BOOL_COMPILE_TRY(C) fails with OS vendor compilers
Date: Fri, 2 Jul 2004 16:50:17 +0200
User-agent: Mutt/1.5.4i [Guile enabled]

Hi,

Today, 10 minutes, 3 seconds ago, Paul Eggert wrote:
> 3.  File a bug report with HP.  'static int x = 1/0;' should not
> compile by default.  I'm surprised that it does, and I'll bet most
> other programmers are too.  (Tell them that their current behavior is
> incompatible with Autoconf.  :-)

Side note : GCC 3.0.2 (x86) does report an error in this case, but the
diagnostic it produces is rather unexpected:

  t.c:1: initializer element is not constant

Has it been fixed since then?

Ludovic.




reply via email to

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