* Userspace header linux/netlink.h uses GCC-specific 'typeof'
@ 2013-09-10 12:51 Thorben Hasenpusch
0 siblings, 0 replies; only message in thread
From: Thorben Hasenpusch @ 2013-09-10 12:51 UTC (permalink / raw)
To: netdev@vger.kernel.org
Compilation of a user space program which includes linux/netlink.h and
uses NL_MMAP_MSG_ALIGN fails if GCC is ordered not to use GNU
extensions.
__KERNEL_ALIGN is defined to use typeof which is a GCC-extension and not
supported by standard C/C++.
Can that be changed so standard conforming C/C++ compiles successfully?
Regards.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-10 12:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 12:51 Userspace header linux/netlink.h uses GCC-specific 'typeof' Thorben Hasenpusch
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 NNTP newsgroup(s).