From: Corinna Vinschen <vinschen@redhat.com>
To: newlib@sourceware.org
Subject: Re: [PATCH] Use enum __packed in favour of -fshort-enums
Date: Mon, 03 Apr 2017 08:29:00 -0000 [thread overview]
Message-ID: <20170403082910.GA20833@calimero.vinschen.de> (raw)
In-Reply-To: <1490950842-13881-1-git-send-email-sebastian.huber@embedded-brains.de>
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
On Mar 31 11:00, Sebastian Huber wrote:
> 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.
Pushed.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2017-04-03 8:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 9:00 Sebastian Huber
2017-04-03 8:29 ` Corinna Vinschen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170403082910.GA20833@calimero.vinschen.de \
--to=vinschen@redhat.com \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).