Skip to content

Commit 41277e0

Browse files
authored
Remove C89 restriction for clang (#303)
1 parent d3f2306 commit 41277e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
8282
endif()
8383

8484
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
85-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror=declaration-after-statement -std=c89 -Wno-comment")
85+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror=declaration-after-statement -Wno-comment")
8686
endif()
8787

8888
#options suported by the cmake builder

0 commit comments

Comments
 (0)