tags 778180 +patch thanks The stddef.h header defines max_align_t conditional on the definition of __STDC_VERSION__, so in gcc5, this type is defined in stddef.h, where for older versions of gcc it was not.
Note that applying this patch makes visible other gcc5 problems with new inline function semantics. I'm working on that problem, and will submit a patch for it later. --- xemacs21-21.4.22.orig/src/lisp.h +++ xemacs21-21.4.22/src/lisp.h @@ -193,6 +193,8 @@ void xfree (void *); # endif /* GNUC */ #endif +#ifndef _GCC_MAX_ALIGN_T +#define _GCC_MAX_ALIGN_T /* No type has a greater alignment requirement than max_align_t. (except perhaps for types we don't use, like long double) */ typedef union @@ -202,6 +204,7 @@ typedef union struct { void (*f)(void); } f; struct { double d; } d; } max_align_t; +#endif #ifndef ALIGNOF # if defined (__GNUC__) && (__GNUC__ >= 2) -- Brett Johnson <br...@hp.com> -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org