From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 6 Sep 2013 17:24:32 -0400 Subject: [U-Boot] [U-Boot, 1/1] compiler_gcc: do not redefine __gnu_attributes In-Reply-To: <1376147810-18026-1-git-send-email-jeroen@myspectrum.nl> References: <1376147810-18026-1-git-send-email-jeroen@myspectrum.nl> Message-ID: <20130906212432.GF13581@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: