Full gnulib stddef.h header file requested by Werner available here: 
https://gist.github.com/chrissimpkins/6e76999d84ca6ff36cf8f7ef047997f4

max_align_t definition from `cat 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/include/stddef.h`
 on Travis OS X 10.10 builds:

#if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L
#if !defined(__CLANG_MAX_ALIGN_T_DEFINED) || __has_feature(modules)
#if defined(_MSC_VER)
typedef double max_align_t;
#elif defined(__APPLE__)
typedef long double max_align_t;
#else
// Define 'max_align_t' to match the GCC definition.
typedef struct {
long long __clang_max_align_nonce1
     __attribute__((__aligned__(__alignof__(long long))));
long double __clang_max_align_nonce2
     __attribute__((__aligned__(__alignof__(long double))));
} max_align_t;
#endif



On Aug 30, 2017, 3:45 AM -0400, Bruno Haible <br...@clisp.org>, wrote:
> Werner LEMBERG wrote:
> > Shall I simply add
> >
> > AC_LANG_PUSH([C++])
> >
> > right before the call to
> >
> > gl_INIT
> >
> > in my `configure.ac' file?
>
> It's worth a try, yes. If it creates other problems, we can look into these.
>
> Bruno
>

Reply via email to