sanitizers-cmake
sanitizers-cmake copied to clipboard
Build fails
In file included from /usr/ports/devel/cli11/work/CLI11-1.8.0/extern/googletest/googletest/include/gtest/gtest-param-test.h:180:
/usr/ports/devel/cli11/work/CLI11-1.8.0/extern/googletest/googletest/include/gtest/internal/gtest-param-util.h:382:3: error: static_assert failed due to requirement 'sizeof(int) == 0' "Empty arguments are not allowed."
static_assert(sizeof(T) == 0, "Empty arguments are not allowed.");
^ ~~~~~~~~~~~~~~
/usr/ports/devel/cli11/work/CLI11-1.8.0/tests/TrueFalseTest.cpp:16:1: note: in instantiation of function template specialization 'testing::internal::TestNotEmpty<int>' requested here
INSTANTIATE_TEST_CASE_P(TrueBoolOptions, TApp_TBO, ::testing::Values("true", "on", "True", "ON"), );
^
/usr/ports/devel/cli11/work/CLI11-1.8.0/extern/googletest/googletest/include/gtest/gtest-param-test.h:498:3: note: expanded from macro 'INSTANTIATE_TEST_CASE_P'
INSTANTIATE_TEST_SUITE_P
^
/usr/ports/devel/cli11/work/CLI11-1.8.0/extern/googletest/googletest/include/gtest/gtest-param-test.h:468:28: note: expanded from macro 'INSTANTIATE_TEST_SUITE_P'
::testing::internal::TestNotEmpty(GTEST_EXPAND_(GTEST_GET_SECOND_( \
^
2 warnings and 5 errors generated.