[GNC-dev] Error building stable

Herbert Thoma herbert.thoma at iis.fraunhofer.de
Mon Mar 27 11:59:08 EDT 2023


Hi!

I tried to build the current stable branch and got the following error:

[ 10%] Building CXX object libgnucash/engine/CMakeFiles/gnc-engine.dir/gnc-option.cpp.o
In file included from /home/tma/gnucash/gnucash_cvs/gnucash_stable/libgnucash/engine/gnc-option.cpp:25:0:

<lots of c++ dependency information (I assume, I don't really understand this>

/home/tma/gnucash/gnucash_cvs/gnucash_stable/libgnucash/engine/gnc-option.cpp:448:35:   required from here
/home/tma/gnucash/gnucash_cvs/gnucash_stable/libgnucash/engine/gnc-option-impl.hpp:331:45: error: variable ‘value’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors


The last 4.x maint branch compiled for me, but I updated the OS in the meantime

openSUSE 13.4
gcc 7.5.0

  Herbert.


More information about the gnucash-devel mailing list