@@ -365,6 +365,7 @@ if test "x$enable_werror" = "xyes"; then
365365 AX_CHECK_COMPILE_FLAG ( [ -Werror=thread-safety] ,[ ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror=thread-safety"] ,,[ [ $CXXFLAG_WERROR] ] )
366366 AX_CHECK_COMPILE_FLAG ( [ -Werror=switch] ,[ ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror=switch"] ,,[ [ $CXXFLAG_WERROR] ] )
367367 AX_CHECK_COMPILE_FLAG ( [ -Werror=unused-variable] ,[ ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror=unused-variable"] ,,[ [ $CXXFLAG_WERROR] ] )
368+ AX_CHECK_COMPILE_FLAG ( [ -Werror=date-time] ,[ ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror=date-time"] ,,[ [ $CXXFLAG_WERROR] ] )
368369fi
369370
370371if test "x$CXXFLAGS_overridden" = "xno"; then
@@ -378,6 +379,7 @@ if test "x$CXXFLAGS_overridden" = "xno"; then
378379 AX_CHECK_COMPILE_FLAG ( [ -Wrange-loop-analysis] ,[ WARN_CXXFLAGS="$WARN_CXXFLAGS -Wrange-loop-analysis"] ,,[ [ $CXXFLAG_WERROR] ] )
379380 AX_CHECK_COMPILE_FLAG ( [ -Wredundant-decls] ,[ WARN_CXXFLAGS="$WARN_CXXFLAGS -Wredundant-decls"] ,,[ [ $CXXFLAG_WERROR] ] )
380381 AX_CHECK_COMPILE_FLAG ( [ -Wunused-variable] ,[ WARN_CXXFLAGS="$WARN_CXXFLAGS -Wunused-variable"] ,,[ [ $CXXFLAG_WERROR] ] )
382+ AX_CHECK_COMPILE_FLAG ( [ -Wdate-time] ,[ WARN_CXXFLAGS="$WARN_CXXFLAGS -Wdate-time"] ,,[ [ $CXXFLAG_WERROR] ] )
381383
382384 # # Some compilers (gcc) ignore unknown -Wno-* options, but warn about all
383385 # # unknown options if any other warning is produced. Test the -Wfoo case, and
0 commit comments