You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot compile this as I get the error /home/benmiller/nds/bin2s/src/bin2s.cpp: In function ‘int main(int, char**)’: /home/benmiller/nds/bin2s/src/bin2s.cpp:220:18: error: catching polymorphic type ‘class args::Help’ by value [-Werror=catch-value=] 220 | } catch (args::Help) { | ^~~~ /home/benmiller/nds/bin2s/src/bin2s.cpp:224:29: error: catching polymorphic type ‘class args::ParseError’ by value [-Werror=catch-value=] 224 | } catch (args::ParseError e) { | ^ cc1plus: all warnings being treated as errors make[2]: *** [CMakeFiles/bin2s.dir/build.make:76: CMakeFiles/bin2s.dir/src/bin2s.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/bin2s.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
I ran the commands cmake -B build cd build make
The text was updated successfully, but these errors were encountered:
I cannot compile this as I get the error
/home/benmiller/nds/bin2s/src/bin2s.cpp: In function ‘int main(int, char**)’: /home/benmiller/nds/bin2s/src/bin2s.cpp:220:18: error: catching polymorphic type ‘class args::Help’ by value [-Werror=catch-value=] 220 | } catch (args::Help) { | ^~~~ /home/benmiller/nds/bin2s/src/bin2s.cpp:224:29: error: catching polymorphic type ‘class args::ParseError’ by value [-Werror=catch-value=] 224 | } catch (args::ParseError e) { | ^ cc1plus: all warnings being treated as errors make[2]: *** [CMakeFiles/bin2s.dir/build.make:76: CMakeFiles/bin2s.dir/src/bin2s.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/bin2s.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
I ran the commands
cmake -B build cd build make
The text was updated successfully, but these errors were encountered: