зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1330240 - Limit -Wthread-safety to WebRTC due to lack of annotations. r=cpeterson,froydnj,jesup
MozReview-Commit-ID: HuoXFwZkdYo --HG-- extra : rebase_source : 8f07a7a6de6d794b26b0f2b18eb95452d65c8f40
This commit is contained in:
Родитель
7f45823723
Коммит
b2013667fb
|
@ -78,9 +78,6 @@ check_and_add_gcc_warning('-Werror=non-literal-null-conversion',
|
|||
# catches string literals used in boolean expressions
|
||||
check_and_add_gcc_warning('-Wstring-conversion')
|
||||
|
||||
# catches inconsistent use of mutexes
|
||||
check_and_add_gcc_warning('-Wthread-safety')
|
||||
|
||||
# we inline 'new' and 'delete' in mozalloc
|
||||
check_and_add_gcc_warning('-Wno-inline-new-delete', cxx_compiler)
|
||||
|
||||
|
|
|
@ -326,6 +326,9 @@
|
|||
'-Wimplicit-fallthrough',
|
||||
'-Wthread-safety',
|
||||
],
|
||||
'cflags_mozilla': [
|
||||
'-Wthread-safety',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
|
|
Загрузка…
Ссылка в новой задаче