build: compile with -Wextra -Wno-unused-parameter
This commit is contained in:
parent
ed093f1314
commit
1867511400
@ -158,7 +158,7 @@
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
|
||||||
'cflags': [ '-Wall', '-pthread', ],
|
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', '-pthread', ],
|
||||||
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
|
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
|
||||||
'ldflags': [ '-pthread', '-rdynamic' ],
|
'ldflags': [ '-pthread', '-rdynamic' ],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user