This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch feature/579-automatic-dependency-deduction
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to
refs/heads/feature/579-automatic-dependency-deduction by this push:
new ac3c1ce5 Replace c99 with gnu99.
ac3c1ce5 is described below
commit ac3c1ce55e4ae706de7dd34f162b5f0d290803d4
Author: PengZheng <[email protected]>
AuthorDate: Fri Jul 14 23:36:02 2023 +0800
Replace c99 with gnu99.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1914913..1c00d485 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,7 +46,7 @@ if (ENABLE_TESTING)
endif ()
# Set C specific flags
-set(CMAKE_C_FLAGS "-D_GNU_SOURCE -std=c99 -fPIC ${CMAKE_C_FLAGS}")
+set(CMAKE_C_FLAGS "-D_GNU_SOURCE -std=gnu99 -fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS "-Wall -Werror -Wformat -Wno-error=deprecated-declarations
${CMAKE_C_FLAGS}")
# Set C++ specific flags