Skip to content

Commit de64bfa

Browse files
committed
fix unrecognized C_Flag
- error: unrecognized command line option ‘-Wno-int-to-void-pointer-cast’
1 parent b605673 commit de64bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (NOT CMAKE_BUILD_TYPE)
1111
endif()
1212

1313
add_definitions(-D_GNU_SOURCE)
14-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Werror -Wno-format -Wno-int-to-void-pointer-cast -Wno-int-to-pointer-cast -Wunused-parameter")
14+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Werror -Wno-format -Wno-int-to-pointer-cast -Wunused-parameter")
1515
set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb")
1616
set(CMAKE_C_FLAGS_RELEASE "-O3")
1717

0 commit comments

Comments
 (0)