bug-gnulib
[Top][All Lists]
Advanced

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

Re: max_align_t fails with clang 6.1 on OS X 10.10


From: Paul Eggert
Subject: Re: max_align_t fails with clang 6.1 on OS X 10.10
Date: Tue, 29 Aug 2017 23:20:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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__ >= 201112L || __cplusplus >= 201103L). Could you try incorporating the std-gnu11 module into your package, and see whether that fixes things? If so, perhaps we could fix this problem for everybody by having stddef depend on std-gnu11.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]