Skip to content

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

@umanwizard

Description

@umanwizard

Due to this issue: catchorg/Catch2#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions