4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00
Sebastian Huber f70d9ae6ad Use enum __packed in favour of -fshort-enums
Some architectures like ARM encode the short enum option state in the
object file and the linker checks that this option is consistent for all
objects of an executable.  In case applications use -fno-short-enums,
then this leads to linker warnings.  Use the enum __packed attribute for
the relevent enums to avoid the -fshort-enums compiler option.  This
attribute is at least available on GCC, LLVM/clang and the Intel
compiler.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2017-04-03 10:26:33 +02:00
..
2015-12-08 21:23:22 +01:00
2017-02-06 16:55:09 -05:00
2015-12-08 21:23:22 +01:00
2015-11-02 16:34:49 -05:00
2015-11-02 16:34:49 -05:00
2015-07-02 09:38:06 +02:00
2015-07-02 09:38:06 +02:00
2011-06-14 03:56:05 +00:00