projects
/
platform
/
core
/
ml
/
nntrainer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63784f
)
Portability: gcc structured binding declaration error
author
MyungJoo Ham
<myungjoo.ham@samsung.com>
Wed, 16 Mar 2022 07:38:00 +0000
(16:38 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Sun, 20 Mar 2022 03:32:51 +0000
(12:32 +0900)
gcc-7 does not comply with c++-17 fully with structured binding declaration.
This allows maybe-unused globally as a workaround.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
c2e8fe2
..
a99640a
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-39,7
+39,8
@@
warning_flags = [
'-Wpointer-arith',
'-Wno-error=varargs',
'-Wdefaulted-function-deleted',
- '-ftree-vectorize'
+ '-ftree-vectorize',
+ '-Wno-unused-variable'
]
warning_c_flags = [