You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2018/01/30 19:19:11 UTC

[15/50] [abbrv] celix git commit: CELIX-412: Adds -std=c+=11 compiler flags, unintentionally deleted this

CELIX-412: Adds -std=c+=11 compiler flags, unintentionally deleted this


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/82c84186
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/82c84186
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/82c84186

Branch: refs/heads/master
Commit: 82c84186e0633ecb739914c04fee1471805415d6
Parents: cf1614c
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Oct 17 21:09:32 2017 +0200
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Tue Oct 17 21:09:32 2017 +0200

----------------------------------------------------------------------
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/82c84186/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index edc558c..3d12cd2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,7 +36,7 @@ IF (ANDROID)
     set(CMAKE_C_FLAGS "-D_GNU_SOURCE -std=gnu99 -Wall ${CMAKE_C_FLAGS}")
 ELSE ()
     set(CMAKE_C_FLAGS "-D_GNU_SOURCE -std=gnu99 -Wall -Werror -fPIC ${CMAKE_C_FLAGS}") #TODO add -Wextra
-    set(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -Weffc++ -fno-rtti -fno-exceptions ${CMAKE_CXX_FLAGS}")
+    set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Werror -Wextra -Weffc++ -fno-rtti -fno-exceptions ${CMAKE_CXX_FLAGS}")
     set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG ${CMAKE_C_FLAGS}")
     set(CMAKE_CXX_FLAGS_DEBUG "-g -DDEBUG ${CMAKE_CXX_FLAGS}")
 ENDIF()