Unable to build on Arch
Closed this issue · 0 comments
When attempting to make wfslib on my Arch install, I get the following error.
make -C wfslib make[1]: Entering directory '/home/andrew/Documents/wfslib/wfslib' g++ -c -Wall -Werror -std=c++14 Area.cpp -o Area.o Area.cpp: In static member function 'static std::shared_ptr<Area> Area::LoadRootArea(const std::shared_ptr<DeviceEncryption>&)': Area.cpp:45:16: error: catching polymorphic type 'class Block::BadHash' by value [-Werror=catch-value=] 45 | catch (Block::BadHash) { | ^~~~~~~ cc1plus: all warnings being treated as errors make[1]: *** [Makefile:13: Area.o] Error 1 make[1]: Leaving directory '/home/andrew/Documents/wfslib/wfslib' make: *** [Makefile:19: wfslib] Error 2
What can I do about this?