[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xtf: fix cdefs.h conflict with __section
On 22/02/18 12:03, Roger Pau Monne wrote: > On FreeBSD the build fails with: > > /root/src/xtf/include/xtf/compiler.h:13:9: error: '__section' macro redefined > [-Werror,-Wmacro-redefined] > #define __section(s) __attribute__((__section__(s))) > ^ > /usr/include/sys/cdefs.h:229:9: note: previous definition is here > #define __section(x) __attribute__((__section__(x))) > ^ > 1 error generated. > > Only define __section if it's undefined in order to prevent conflicts. > > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Acked and pushed. Thanks. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |