mfontanini / cppkafka

Modern C++ Apache Kafka client library (wrapper for librdkafka)
BSD 2-Clause "Simplified" License
587 stars 207 forks source link

Can't build tests on Ubuntu 22.04 (Jammy) #294

Open umanwizard opened 2 years ago

umanwizard commented 2 years ago

Due to this issue: https://github.com/catchorg/Catch2/issues/2178

In file included from /usr/include/signal.h:328,
                 from /home/brennan/code/cppkafka/third_party/Catch2/single_include/catch.hpp:4811,
                 from /home/brennan/code/cppkafka/tests/test_main.cpp:3:
/home/brennan/code/cppkafka/third_party/Catch2/single_include/catch.hpp:7441:45: error: size of array ‘altStackMem’ is not an integral constant-expression
 7441 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~
make[2]: *** [tests/CMakeFiles/cppkafka_tests.dir/build.make:216: tests/CMakeFiles/cppkafka_tests.dir/test_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:452: tests/CMakeFiles/cppkafka_tests.dir/all] Error 2
make: *** [Makefile:146: all] Error 2