Re: AC_PROG_CC_C99 and -std=c99

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

 



On Sun, 17 Jun 2012, 'Chris Hall' wrote:

So, my first question is: am I mistaken in thinking that using
-std=c99 will help, portability-wise ?

It is often expected that requesting a specific standard at compile-time will aid with portability. Usually the results are the opposite of that because the standard requires that interfaces not specified by the standard are not exposed and are therefore not usable. Likewise, if a system does not support the standard, the result is usually utter failure. It is typical that there are multiple conflicting standards supported by the OS and requesting one breaks use of the other.

Bob
--
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
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