[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [POLL] C99, declaration after statement
From: |
Paul Eggert |
Subject: |
Re: [POLL] C99, declaration after statement |
Date: |
Sun, 25 Sep 2011 10:24:22 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 |
On 09/25/11 09:35, Bruno Haible wrote:
> AC_PROG_CC_C99 should then be preferred over AC_PROG_CC_STDC. Right?
No, because one cannot safely mix
AC_PROG_CC_C99 and AC_PROG_CC_STDC, just
as one cannot safely mix AC_PROG_CC_STDC
and AC_PROG_CC_C89, or safely mix
AC_PROG_CC_C89 and AC_PROG_CC_C99.
Perhaps Autoconf could be improved so that
these macros can be used together, but that
would require some thought: in a few places
C89 is genuinely incompatible with C99, and
I expect the same will be true with C1x.
In the past, we've ignored this issue: thus,
even though gnulib modules generally require
C89 or better, gnulib doesn't invoke AC_PROG_CC_C89.
On further thought, perhaps we should continue
to ignore it.
- [POLL] C99, declaration after statement, (continued)
- [POLL] C99, declaration after statement, Bruno Haible, 2011/09/24
- Re: [POLL] C99, declaration after statement, Eric Blake, 2011/09/24
- Re: [POLL] C99, declaration after statement, Gary V. Vaughan, 2011/09/25
- Re: [POLL] C99, declaration after statement, Paul Eggert, 2011/09/25
- Re: [POLL] C99, declaration after statement, Gary V. Vaughan, 2011/09/25
- Re: [POLL] C99, declaration after statement, Paul Eggert, 2011/09/25
- Re: [POLL] C99, declaration after statement, Gary V. Vaughan, 2011/09/25
- Re: [POLL] C99, declaration after statement, Pádraig Brady, 2011/09/25
- Re: [POLL] C99, declaration after statement, Paul Eggert, 2011/09/25
- Re: [POLL] C99, declaration after statement, Bruno Haible, 2011/09/25
- Re: [POLL] C99, declaration after statement,
Paul Eggert <=