dashpay / bls-signatures

BLS signatures in C++, using the relic toolkit
Apache License 2.0
10 stars 34 forks source link

fix: built for glibc 2.35 #56

Closed knst closed 1 year ago

knst commented 1 year ago

Macros MINSIGSTKSZ is not a const anymore in glibc 2.35, but a function call

It causes this error:

        error: call to non-‘constexpr’ function ‘long int sysconf(int)’
        10822 |     static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;

Alternate solution to update catch2 library to version 2.13.5 or newer: https://github.com/catchorg/Catch2/blob/devel/docs/release-notes.md#2135

UdjinM6 commented 1 year ago

Thanks! Implemented your suggestion (an alternate solution) in #57. Pls test!

knst commented 1 year ago

not needed due to #57