[U-Boot] [PATCH v2 1/3] compiler_gcc: prevent redefining attributes

2014-09-18 Thread Jeroen Hofstee
The libc headers on FreeBSD and likely related projects as well contain an header file, cdefs.h which provides similiar functionality as linux/compiler.h. It provides compiler independent defines like __weak __packed, to allow compiling with multiple compilers which might have a different syntax

Re: [U-Boot] [PATCH v2 1/3] compiler_gcc: prevent redefining attributes

2014-09-18 Thread Masahiro Yamada
On Thu, 18 Sep 2014 20:10:27 +0200 Jeroen Hofstee jer...@myspectrum.nl wrote: The libc headers on FreeBSD and likely related projects as well contain an header file, cdefs.h which provides similiar functionality as linux/compiler.h. It provides compiler independent defines like __weak