Closed audrow closed 3 years ago
This PR enables -Wformat=2, -Wconversion, -Woverloaded-virtual, -Wshadow, -Wnon-virtual-dtor, -Wold-style-cast, and -Wcast-qual in rcl_logging_spdlog. No source code was modified to enable these warnings.
-Wformat=2
-Wconversion
-Woverloaded-virtual
-Wshadow
-Wnon-virtual-dtor
-Wold-style-cast
-Wcast-qual
rcl_logging_spdlog
Relies on googletest being v1.10.0 (https://github.com/ament/googletest/pull/8).
googletest
Running different gtest versions to see if we can fix the warnings:
New CI run, after gtest has been updated to v1.10.0:
This PR enables
-Wformat=2
,-Wconversion
,-Woverloaded-virtual
,-Wshadow
,-Wnon-virtual-dtor
,-Wold-style-cast
, and-Wcast-qual
inrcl_logging_spdlog
. No source code was modified to enable these warnings.Relies on
googletest
being v1.10.0 (https://github.com/ament/googletest/pull/8).