[OpenWrt-Devel] [PATCH] broadcom_wl: eliminate compiler error with gcc-4.9-linaro

Felix Fietkau nbd at openwrt.org
Fri Oct 24 14:07:16 EDT 2014


On 2014-10-18 22:23, Nathan Hintz wrote:
> Attempting to build broadcom_wl (from trunk) with the linaro 4.9.x
> toolchain produces the following errors:
> 
> <...>/wl_linux.c: In function 'wl_dump_ver':
> <...>/wl_linux.c:2302:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
>    __DATE__, __TIME__, EPI_VERSION_STR);
>    ^
> <...>/wl_linux.c:2302:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
>    __DATE__, __TIME__, EPI_VERSION_STR);
>              ^
> cc1: some warnings being treated as errors
> 
> Remove the use of the __DATE__ and __TIME__ macros, as the info is not
> really useful.
> 
> Signed-off-by: Nathan Hintz <nlhintz at hotmail.com>
Committed in r43046, thanks.

- Felix
_______________________________________________
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