Skip to content

Commit 7f31762

Browse files
committed
gd build: add compiler options to clang Cmakelist to be consistent with makefile
1 parent d847729 commit 7f31762

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/gd-2.3.3/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,8 @@ if (CMAKE_C_COMPILER_ID STREQUAL Clang)
114114
-Wno-implicit-function-declaration
115115
-Wno-deprecated-declarations
116116
-Wno-ignored-pragmas
117+
-Wno-incompatible-function-pointer-types
118+
-Wno-incompatible-pointer-types
119+
-Wno-macro-redefined
117120
)
118121
endif()

0 commit comments

Comments
 (0)