--- wl-6.30.223.248/src/wl/sys/wl_linux.c~ 2014-12-11 21:16:46.000000000 +0100 +++ wl-6.30.223.248/src/wl/sys/wl_linux.c 2014-12-11 21:31:47.006131594 +0100 @@ -722,7 +722,14 @@ WL_ALL_PASSIVE_ENAB(wl) ? ", Passive Mode" : "", EPI_VERSION_STR); #ifdef BCMDBG +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdate-time" +#endif printf(" (Compiled in " SRCBASE " at " __TIME__ " on " __DATE__ ")"); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#pragma GCC diagnostic pop +#endif #endif printf("\n"); @@ -2049,8 +2056,15 @@ void wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b) { +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdate-time" +#endif bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit, __DATE__, __TIME__, EPI_VERSION_STR); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#pragma GCC diagnostic pop +#endif } #if defined(BCMDBG)