Skip to content

Commit 1c22650

Browse files
committed
remove no-invalid-memory-model supression
1 parent 09c658d commit 1c22650

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU")
181181
list(APPEND mi_cflags -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden)
182182
if(NOT MI_USE_CXX)
183183
list(APPEND mi_cflags -Wstrict-prototypes)
184-
endif()
185-
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
186-
list(APPEND mi_cflags -Wno-invalid-memory-model)
187-
endif()
184+
endif()
188185
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang")
189186
list(APPEND mi_cflags -Wpedantic -Wno-static-in-inline)
190187
endif()

0 commit comments

Comments
 (0)