From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, 1/1] compiler_gcc: do not redefine __gnu_attributes
Date: Fri, 6 Sep 2013 17:24:32 -0400 [thread overview]
Message-ID: <20130906212432.GF13581@bill-the-cat> (raw)
In-Reply-To: <1376147810-18026-1-git-send-email-jeroen@myspectrum.nl>
On Sat, Aug 10, 2013 at 05:16:50PM +0200, Jeroen Hofstee wrote:
> gcc allows extensions to be non compiler specific by defining
> __* macros for the attributes supported by gcc. Having a
> different definition causes many warnings during the build
> (cdefs.h on FreeBSD uses __attribute((__pure__)) where u-boot
> uses __attribute__((pure)) for example). Do not redefine
> these macros to suppress these warnings.
>
> This patch ignores the checkpatch warning:
> WARNING: __packed is preferred over __attribute__((packed))
>
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130906/bb029396/attachment.pgp>
prev parent reply other threads:[~2013-09-06 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-10 15:16 [U-Boot] [PATCH 1/1] compiler_gcc: do not redefine __gnu_attributes Jeroen Hofstee
2013-09-06 21:24 ` Tom Rini [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=20130906212432.GF13581@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/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