This is the mail archive of the
mailing list for the newlib project.
Use of -fshort-enums for certain files
- From: Michael Bruck <bruck dot michael at gmail dot com>
- To: newlib at sourceware dot org
- Date: Sun, 31 Mar 2013 00:53:55 +0100
- Subject: Use of -fshort-enums for certain files
libc/stdio/Makefile.in uses "-fshort-enums" for several files.
This causes problems with ARM targets that have this option disabled
by default. On ARM the enum format is stored as flag in the elf file
and the linker notes the discrepancy. So even if this hard-coded flag
is purely internal in these library files and affects no external
interfaces it still causes errors when linked with other objects.