Ned Deily <nad@python.org> wrote:
On Aug 6, 2016, at 01:16, Stephen J. Turnbull <turnbull.stephen.fw@u.tsukuba.ac.jp> wrote:
I may be talking through my hat here, but Apple has been using LLVM for several major releases now. They seem to be keeping the GCC frontend stuck at 4.2.1, though. So just because we've been using GCC 4.2.1 on Mac, including on buildbots, doesn't mean that there is no C99 compiler available on Macs -- it's quite possible that the available clang frontend does already support the C99 features we would use. I suppose that might mean fiddling with the installer build process as well as the buildbots.
Sorry, I wasn't clear; I did not mean to imply there is no C99 compiler available from Apple for OS X. On current OS X releases, clang is the default and only supported compiler. I was bringing up the example of the impact on building on older releases with the supported build tools for those releases where clang is either not available or was too immature to be usable. As I said, there are a number of solutions to that problem - building on newer systems with deployment targets, installing third-party compilers, etc.
Clang is also available (and installed) on OSX 10.8 and earlier, although gcc 4.2.1 is the default frontend to LLVM. The easiest solution to get C99 on those platforms is $ export CC=clang Not very difficult, and highly recommended. Sturla Molden