[Top][All Lists]

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

Re: [CFT] sed prerelease on alpha.gnu.org

From: Eric Blake
Subject: Re: [CFT] sed prerelease on alpha.gnu.org
Date: Wed, 29 Apr 2009 17:23:39 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090302 Thunderbird/ Mnenhy/

Hash: SHA1

[adding bug-autoconf]

According to Matthew Woehlke on 4/29/2009 1:07 PM:
>> Typically, -qlanglvl=extc99 is a better choice for GNU software.
> I tried that also, but it results in configure picking '-qlanglvl=extc99
> -qlanglvl=ansi', which presumably defeats the purpose. (IOW, extc99 mode
> is not C89-compliant as autoconf is checking for that; stdc99 mode
> however is accepted.)
>>> FYI: adding the autoconf check to turn on c99 mode is broken;
>>> autoconf  picks up -qlanglvl=ansi from the ANSI c89 check, and
>>> doesn't know how to  try alternatives (this affects other GNU
>>> packages as well, most notably  coreutils).
>> Can you reformulate this paragraph so that it can serve as a bug report
>> against Autoconf and/or other affected GNU packages?  IOW: what exactly
>> is broken, using AC_PROG_CC_C99 after AC_PROG_CC_C89?
> I've no idea. I just know that at least coreutils does it in such a way
> that configure doesn't figure out to use either of
> -qlanglvl={std,ext}c99. And that I've seen the same thing in other
> packages.

It may also have something to do with this statement of yours:

> However, it seems said compiler also has no stdbool.h, and so the (broken) 
> replacement header is still used, ergo the original problem is not solved.

C99 requires stdbool.h, but there have been other reports of people where
this one aspect of C99 is missing, and as a result, the entire
AC_PROG_CC_C99 fails to enable the remaining supported C99 features.
Maybe some improvements can be made in that area.

Also a question - does your compiler support _Bool, even though it lacks

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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