summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/queue.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-31 11:00:42 +0200
committerCorinna Vinschen <corinna@vinschen.de>2017-04-03 10:26:33 +0200
commitf70d9ae6adc6ed7952806056349ba9f8ba3c65c8 (patch)
tree7f7bf82f57459b1d13032c7d0c92194463b62e3c /newlib/libc/include/sys/queue.h
parent571c69656aad95df54a8c42e7b33f961a35dbef6 (diff)
downloadcygnal-f70d9ae6adc6ed7952806056349ba9f8ba3c65c8.tar.gz
cygnal-f70d9ae6adc6ed7952806056349ba9f8ba3c65c8.tar.bz2
cygnal-f70d9ae6adc6ed7952806056349ba9f8ba3c65c8.zip
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>
Diffstat (limited to 'newlib/libc/include/sys/queue.h')
0 files changed, 0 insertions, 0 deletions