diff -ur -x '*~' rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c rtl8812AU_linux_v5.1.5_19247.20160830-gcc/core/rtw_debug.c --- rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c 2016-08-30 04:28:15.000000000 +0200 +++ rtl8812AU_linux_v5.1.5_19247.20160830-gcc/core/rtw_debug.c 2017-10-10 21:57:47.919763413 +0200 @@ -46,8 +46,15 @@ void dump_drv_version(void *sel) { +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdate-time" +#endif RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION); RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#pragma GCC diagnostic pop +#endif } void dump_drv_cfg(void *sel)