[build] Enable -Wformat-pedantic compiler warning
For cross-compiler-compatibility and standards compliance %p requires a void*, rather than any pointer type. This was fixed in: https://codereview.chromium.org/2001073002/ BUG=chromium:474921 Review-Url: https://codereview.chromium.org/2011483002 Cr-Commit-Position: refs/heads/master@{#36473}
This commit is contained in:
parent
a6ddbef064
commit
db5246fadf
@ -445,26 +445,6 @@
|
||||
# things when their commandline changes). Nothing should ever read this
|
||||
# define.
|
||||
'defines': ['CR_CLANG_REVISION=<!(python <(DEPTH)/tools/clang/scripts/update.py --print-revision)'],
|
||||
'conditions': [
|
||||
['host_clang==1', {
|
||||
'target_conditions': [
|
||||
['_toolset=="host"', {
|
||||
'cflags+': [
|
||||
'-Wno-format-pedantic',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['clang==1', {
|
||||
'target_conditions': [
|
||||
['_toolset=="target"', {
|
||||
'cflags+': [
|
||||
'-Wno-format-pedantic',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['clang==1 and target_arch=="ia32"', {
|
||||
'cflags': ['-mstack-alignment=16', '-mstackrealign'],
|
||||
|
Loading…
Reference in New Issue
Block a user