Re: C99 support

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

 



Roger Leigh wrote:

and these work well.  What it doesn't do is let me use features such
as mixed declarations and code.  These require you to use "gcc
-std=c99" or "c99" or similar, and I can't enable this portably.  If
autoconf could find out how to put a given compiler into C99 mode,
that would be great (in the same way as AC_PROG_GCC_TRADITIONAL
works for K&R C).

This sort of test is also needed to test C99 support for anonymous unions and structures in declarators, which I have run into problems with before.


If there's a way to create AC_PROG_CC_C99 or something similar, that would be wonderful.


_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://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