[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: |
Paul Jarc |
Subject: |
Re: AC_LANG_BOOL_COMPILE_TRY(C) fails with OS vendor compilers |
Date: |
Fri, 02 Jul 2004 10:44:32 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Paul Eggert <address@hidden> wrote:
> Unfortunately there's no such thing as "truly invalid C", in the sense
> that every possible C compiler, whether conforming or not, will exit
> with nonzero status when asked to compile it. This is because people
> are free to add extensions. The best we can do is to write code that
> fails on all practical implementations.
Does anyone know how "char test[(whatever)? 1: -1];" fares?
paul