diff options
author | Michael Andres <ma@suse.de> | 2013-04-29 17:38:45 +0200 |
---|---|---|
committer | Michael Andres <ma@suse.de> | 2013-04-29 17:38:45 +0200 |
commit | 05eb87243d28be648e59508edc03fe275e76dcfa (patch) | |
tree | 77f6c350dd0e748a0da983a2d08ed41ad8700f32 | |
parent | 707dc10558ca8414ae0b7d9dc892a22aa6194d18 (diff) | |
download | libzypp-bindings-05eb87243d28be648e59508edc03fe275e76dcfa.tar.gz libzypp-bindings-05eb87243d28be648e59508edc03fe275e76dcfa.tar.bz2 libzypp-bindings-05eb87243d28be648e59508edc03fe275e76dcfa.zip |
Compile with -std=c++11
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | package/libzypp-bindings.changes | 5 | ||||
-rw-r--r-- | swig/zypp.i | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 622e8cc..e02ba6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 2.8) ENABLE_TESTING() -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fPIC -fno-strict-aliasing") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -fPIC -fno-strict-aliasing") # # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked diff --git a/package/libzypp-bindings.changes b/package/libzypp-bindings.changes index 2193625..6d7dfc7 100644 --- a/package/libzypp-bindings.changes +++ b/package/libzypp-bindings.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Apr 29 17:37:14 CEST 2013 - ma@suse.de + +- Compile with -std=c++11 + +------------------------------------------------------------------- Mon Jan 28 14:02:12 CET 2013 - mls@suse.de - work around swig problem creating two different types for diff --git a/swig/zypp.i b/swig/zypp.i index 69ff44a..6aab2bd 100644 --- a/swig/zypp.i +++ b/swig/zypp.i @@ -108,6 +108,7 @@ SWIGINTERNINLINE SV *SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value); #include <sstream> +#undef seed // don't know where it comes from, but it conflicts with <random> #include "zypp/base/PtrTypes.h" #include "zypp/base/ReferenceCounted.h" #include "zypp/Edition.h" |