Enable -Wexit-time-destructor for all targets
This warning should be available for Windows as well. Test: mmma system/core/base Change-Id: Id2e7e4da2e5105870a8d1e10c793e4a54c5b3d04
This commit is contained in:
parent
9c5c396d11
commit
ca6ee8331f
|
@ -56,6 +56,7 @@ cc_defaults {
|
|||
"test_utils.cpp",
|
||||
],
|
||||
|
||||
cppflags: ["-Wexit-time-destructors"],
|
||||
shared_libs: ["liblog"],
|
||||
target: {
|
||||
android: {
|
||||
|
@ -68,13 +69,11 @@ cc_defaults {
|
|||
srcs: [
|
||||
"errors_unix.cpp",
|
||||
],
|
||||
cppflags: ["-Wexit-time-destructors"],
|
||||
},
|
||||
darwin: {
|
||||
srcs: [
|
||||
"errors_unix.cpp",
|
||||
],
|
||||
cppflags: ["-Wexit-time-destructors"],
|
||||
},
|
||||
linux_bionic: {
|
||||
enabled: true,
|
||||
|
|
Loading…
Reference in New Issue