3cbb10a30c000fcd2cd4658dd215778422c7bbb1 |
|
10-Apr-2018 |
Primiano Tucci <primiano@google.com> |
Remove warning suppressions and fix many casting bugs This change removes most warning suppressions, in particular from production code. In the past we inherit a bunch of -Wno-xxx suppressions required to build gtest and libprotobuf headers. Doing so, however, caused the suppressions to propagate back to the translation units that were including any protobuf header or any auto-generated .pb.h stub. This change moves the gtest and probobuf header to be a system include (-isystem vs -I). Doing so implicitly blacklists any compiler warning on the headers. This CL then re-enables warnings and deals with the fall out of fixes that came out of this. Bug: 77316877 Test: pefetto_unittests / perfetto_integrationtests Change-Id: I3a01852ebf7d0b9bf19658ddf117209d129c70be
/external/perfetto/src/base/virtual_destructors.cc
|