valgrind reports leaks in boost test framework with no tests
I am using the latest apt packages on Ubuntu 18.04.6: Boost 1.65.1 valgrind-3.13.0 Here is the test file; it intentionally doesn't include any tests: // temp.cpp #define BOOST_TEST_MODULE some_name_here #include <boost/test/included/unit_test.hpp> The source is compiled then linked like this (dumped from cmake): /usr/bin/clang++-12 -O3 -DNDEBUG -Wall -Wextra -O0 -g -std=gnu++17 -o temp.o -c temp.cpp /usr/bin/clang++-12 -O3 -DNDEBUG temp.o -o temp /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so I invoke valgrind on the executable: valgrind --leak-check=full --show-leak-kinds=all --tra
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.