openfheorg / openfhe-development

This is the development repository for the OpenFHE library. The current (stable) version is v1.2.0 (released on June 25, 2024).
BSD 2-Clause "Simplified" License
655 stars 167 forks source link

the dev branch does not compile in MinGW #809

Closed yspolyakov closed 2 weeks ago

yspolyakov commented 2 weeks ago

The following error message is generated:

C:/git/openfhe-development/src/core/lib/utils/get-call-stack.cpp:94:26: error: declaration of 'std::vector<std::__cxx11::basic_string<char> > get_call_stack()' has a different exception specifier
   94 | std::vector<std::string> get_call_stack() {
      |                          ^~~~~~~~~~~~~~
In file included from C:/git/openfhe-development/src/core/lib/utils/get-call-stack.cpp:31:
C:/git/openfhe-development/src/core/include/utils/get-call-stack.h:42:26: note: from previous declaration 'std::vector<std::__cxx11::basic_string<char> > get_call_stack() noexcept'
   42 | std::vector<std::string> get_call_stack() noexcept;
      |                          ^~~~~~~~~~~~~~
[ 14%] Building CXX object src/core/CMakeFiles/coreobj.dir/lib/utils/openfhebase64.cpp.obj
make[2]: *** [src/core/CMakeFiles/coreobj.dir/build.make:467: src/core/CMakeFiles/coreobj.dir/lib/utils/get-call-stack.cpp.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 14%] Linking CXX static library ../../../lib/libbenchmark.a
[ 14%] Built target benchmark
make[1]: *** [CMakeFiles/Makefile2:603: src/core/CMakeFiles/coreobj.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
yspolyakov commented 2 weeks ago

Superseded by #812