projects
/
platform
/
upstream
/
libzypp-bindings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ee791
)
use std=c++11
author
Michael Andres
<ma@suse.de>
Fri, 14 Mar 2014 13:39:11 +0000
(14:39 +0100)
committer
Michael Andres
<ma@suse.de>
Fri, 14 Mar 2014 13:39:11 +0000
(14:39 +0100)
CMakeLists.txt
patch
|
blob
|
history
swig/zypp.i
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
9cb417a
..
e02ba6b
100644
(file)
--- 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 -std=c++
0x
-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/swig/zypp.i
b/swig/zypp.i
index
71bfdb3
..
53b781d
100644
(file)
--- a/
swig/zypp.i
+++ b/
swig/zypp.i
@@
-20,6
+20,7
@@
#define BOOST_NO_CXX11_NOEXCEPT
#define BOOST_NO_CXX11_RVALUE_REFERENCES
#define BOOST_NO_CXX11_SMART_PTR
+#define constexpr
%{
/* Includes the header in the wrapper code */