[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
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

More information about the openwrt-devel mailing list