autoconf
[Top][All Lists]
Advanced

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

Re: AC_PROG_CC_C89 is not adding -std=c89 to CFLAGS


From: Dimitrios Apostolou
Subject: Re: AC_PROG_CC_C89 is not adding -std=c89 to CFLAGS
Date: Mon, 16 Jan 2017 15:16:52 +0100 (CET)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

On Fri, 13 Jan 2017, Paul Eggert wrote:

Dimitrios Apostolou wrote:
I was expecting that adding AC_PROG_CC_C89 to configure.ac, would force C89

Eeeuuw. Who would want to do that?

See the context in my first email, apparently some defines were not very well thought. Passing -std=gnu89 to CFLAGS helped me move on.


To some extent AC_PROG_CC_C89 is obsolete, and I don't recommend using it, just as I don't recommend C89.


I fully agree, for code I own. :-)


Dimitris




reply via email to

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