On 11/02/2017 08:50 AM, Eli Zaretskii wrote: > do you see a cleaner fix? Yes, we can stop using alignas entirely, since it doesn't work the way I expected. I thought that it could only increase alignment, and that it was a no-op if it specified a decreased alignment: this is how __attribute__ ((aligned (8))) works. However, I now see that C11 says that a compiler is supposed to report an error if alignas specifies a decreased alignment. So I installed the attached patch to stop using alignas. > We've stopped supporting MSVC long ago. OK. Can we then simplify the source a little bit, in the 'master' branch, as a low-priority task? I was thinking of something like this: * Remove my_endbss_static in lastfile.c, since we no longer need to worry about the Alpha MSVC linker. * Remove the the _MSC_VER-specific code in lisp.h's definitions of ENUM_BF and DEFUN and in regex.c's definition of re_char and const_re_char.