Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit a82a9c0

Browse files
committed
Use -std=gnu89 in tools/c-index-test/CMakeLists.txt
With the old use of -std=c89 off_t is not defined and the build fails. This seems to be another variation of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40278. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198748 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 3a47e45 commit a82a9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/c-index-test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_clang_executable(c-index-test
55
if(NOT MSVC)
66
set_property(
77
SOURCE c-index-test.c
8-
PROPERTY COMPILE_FLAGS "-std=c89"
8+
PROPERTY COMPILE_FLAGS "-std=gnu89"
99
)
1010
endif()
1111

0 commit comments

Comments
 (0)