File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ endif()
321321# Configuring compilers
322322set (OSRM_WARNING_FLAGS "-Werror=all -Werror=extra -Werror=uninitialized -Werror=unreachable-code -Werror=unused-variable -Werror=unreachable-code -Wno-error=cpp -Wpedantic" )
323323if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
324- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OSRM_WARNING_FLAGS} -Werror=strict-overflow=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -fcolor-diagnostics -ftemplate-depth=1024 -Wno-unused-command-line-argument" )
324+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OSRM_WARNING_FLAGS} -Werror=strict-overflow=2 -Wno-error=unused-local-typedef - U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -fcolor-diagnostics -ftemplate-depth=1024 -Wno-unused-command-line-argument" )
325325elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
326326 set (COLOR_FLAG "-fdiagnostics-color=auto" )
327327 check_cxx_compiler_flag("-fdiagnostics-color=auto" HAS_COLOR_FLAG)
You can’t perform that action at this time.
0 commit comments