Giter Club home page Giter Club logo

Comments (2)

h4tr3d avatar h4tr3d commented on August 10, 2024

Thanks for report! Could you please provide complete error log? Currently, my GCC is 11.1.0, and I can't observe any issues with build.

from avcpp.

tehkillerbee avatar tehkillerbee commented on August 10, 2024

@h4tr3d Thanks for the quick fix. To answer your question, here is the error returned when building the older version of catch2:

FAILED: rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o 
/usr/bin/c++  -I../rootdir/avcpp/catch2/single_include -fopenmp -g -std=gnu++17 -MD -MT rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o -MF rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o.d -o rootdir/avcpp/tests/CMakeFiles/test_main.dir/test-main.cpp.o -c ../rootdir/avcpp/tests/test-main.cpp
In file included from /usr/include/signal.h:328,
                 from ../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:6323,
                 from ../rootdir/avcpp/tests/test-main.cpp:7:
../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:9041:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
 9041 |     constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |                                                          ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from ../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:6323,
                 from ../rootdir/avcpp/tests/test-main.cpp:7:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
  640 | extern long int sysconf (int __name) __THROW;
      |                 ^~~~~~~
In file included from ../rootdir/avcpp/tests/test-main.cpp:7:
../rootdir/avcpp/catch2/single_include/catch2/catch.hpp:9100:45: error: size of array ‘altStackMem’ is not an integral constant-expression
 9100 |     char FatalConditionHandler::altStackMem[sigStackSize] = {};
      |                                             ^~~~~~~~~~~~

from avcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.