Skip to content

Commit 7e65512

Browse files
committed
cleanup: compile with -fno-operator-names in maintainer mode
1 parent fd76746 commit 7e65512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/maintainer.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ FOREACH(F ${MY_WARNING_FLAGS})
4343
MY_CHECK_AND_SET_COMPILER_FLAG(${F} DEBUG RELWITHDEBINFO)
4444
ENDFOREACH()
4545

46-
SET(MY_ERROR_FLAGS -Werror)
46+
SET(MY_ERROR_FLAGS -Werror -fno-operator-names)
4747

4848
IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_C_COMPILER_VERSION VERSION_LESS "6.0.0")
4949
SET(MY_ERROR_FLAGS ${MY_ERROR_FLAGS} -Wno-error=maybe-uninitialized)

0 commit comments

Comments
 (0)