sanitizers-cmake icon indicating copy to clipboard operation
sanitizers-cmake copied to clipboard

Build fails

Open yurivict opened this issue 5 years ago • 0 comments

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.

yurivict avatar Jun 22 '19 16:06 yurivict