projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1682d3b
)
[Common] Build as C++14, and with -Werror
24/164024/2
author
Jakub Skowron
<j.skowron@samsung.com>
Thu, 14 Dec 2017 16:57:31 +0000
(17:57 +0100)
committer
Piotr Kosko
<p.kosko@samsung.com>
Mon, 18 Dec 2017 08:53:08 +0000
(08:53 +0000)
Tool chain has already been changed to GCC 6.2.1, which fully
supports -std=c++14
Change-Id: I5a2c82fabcbb599f02fcbac9ff27cd2ce4cb3b65
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
src/common/common.gypi
patch
|
blob
|
history
diff --git
a/src/common/common.gypi
b/src/common/common.gypi
index 0e15003a3431c16e8014fe6041ff6ff292082bfb..cf4fed834800b69ac6123f12190b54f45f0741be 100644
(file)
--- a/
src/common/common.gypi
+++ b/
src/common/common.gypi
@@
-78,10
+78,16
@@
'XW_Extension.cc',
],
'cflags': [
- '-std=c++0x',
'-fPIC',
'-fvisibility=hidden',
'-Wall',
+ '-Werror',
+ ],
+ 'cflags_c': [
+ '-std=c11',
+ ],
+ 'cflags_cc': [
+ '-std=c++14',
],
'libraries' : [
'-L .',