Re: max_align_t fails with clang 6.1 on OS X 10.10

2017-08-29 Thread Paul Eggert
Werner LEMBERG wrote: Shall I simply add AC_LANG_PUSH([C++]) right before the call to gl_INIT in my `configure.ac' file? Sorry, I don't use C++, so I'm not a good source of advice for it. That being said, Libc-1158.50.2/include/stddef.h defines max_align_t if (__STDC_VERSION__ >= 20

Re: max_align_t fails with clang 6.1 on OS X 10.10

2017-08-29 Thread Werner LEMBERG
>> configure:17517: gcc -c >> -I/Users/travis/ttfautohint-build/local/include -g -O2 conftest.c >&5 >> conftest.c:145:13: error: use of undeclared identifier 'max_align_t' > > Evidently the stddef.h found by the above command does not define > max_align_t, whereas the stddef.h found by the comman

Re: max_align_t fails with clang 6.1 on OS X 10.10

2017-08-29 Thread Paul Eggert
Werner LEMBERG wrote: configure:17517: gcc -c -I/Users/travis/ttfautohint-build/local/include -g -O2 conftest.c >&5 conftest.c:145:13: error: use of undeclared identifier 'max_align_t' Evidently the stddef.h found by the above command does not define max_align_t, whereas the stddef.h found b

Re: max_align_t fails with clang 6.1 on OS X 10.10

2017-08-29 Thread Werner LEMBERG
>>checking for max_align_t... no > > Why did this say "no" even though stddef.h evidently defines > max_align_t? Please look for details in config.log. Below. For reference you can also find the complete `config.log' file attached. Werner =

Re: c99 and IRIX

2017-08-29 Thread Tom G. Christensen
On 24/08/17 13:27, Bruno Haible wrote: On IRIX 6.5 with cc: Even with the c99 dependency, the compiler produces this error: Because it's not in c99 mode. You need MIPSpro 7.4.0 or later for c99 support and it requires the '-c99' argument when invoking cc or invoking the compiler as c99.