[OpenWrt-Devel] [PATCH] px5g-standalone: fix compilation after fortify-headers
Szabolcs Nagy
nsz at port70.net
Wed Jun 24 09:26:33 EDT 2015
* Hannu Nyman <hannu.nyman at iki.fi> [2015-06-23 22:05:54 +0300]:
> px5g-standalone: fix compilation after fortify-headers
>
> New fortify-headers functionality (default after r46117) is apparently
> conflicting with gcc "-pedantic" option. The package px5g-standalone fails
> to compile due to "error: #include_next is a GCC extension" errors. See
> https://dev.openwrt.org/ticket/19975
>
> Fix the compilation of px5g-standalone by removing the "-pedantic" gcc option.
it seems to me that adding
__extension__
in front of the include_next line in the fortify headers
make the warning go away.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list