cross-platform / dspatch

The Refreshingly Simple Cross-Platform C++ Dataflow / Patching / Pipelining / Graph Processing / Stream Processing / Reactive Programming Framework
https://flowbasedprogramming.com/
BSD 2-Clause "Simplified" License
216 stars 44 forks source link

Error when building #49

Closed GrimPixel closed 1 year ago

GrimPixel commented 1 year ago
[ 76%] Building CXX object tests/CMakeFiles/DSPatchTests.dir/main.cpp.o
In file included from /usr/include/signal.h:328,
                 from /home/user/dspatch/tests/../subprojects/catch/catch.hpp:4811,
                 from /home/user/dspatch/tests/main.cpp:3:
/home/user/dspatch/tests/../subprojects/catch/catch.hpp:7441:45: error: size of array 'altStackMem' is not an integral constant-expression
 7441 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~
cc1plus: note: unrecognized command-line option '-Wno-vla-extension' may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option '-Wno-gnu-zero-variadic-macro-arguments' may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option '-Wno-return-type-c-linkage' may have been intended to silence earlier diagnostics
make[2]: *** [tests/CMakeFiles/DSPatchTests.dir/build.make:76: tests/CMakeFiles/DSPatchTests.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:162: tests/CMakeFiles/DSPatchTests.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
MarcusTomlinson commented 1 year ago

I've just updated catch, please try main again

GrimPixel commented 1 year ago

It's solved. Thanks.