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

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux