<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="+1"><tt>I've got a reasonably up to date current with
multilib and ktown.</tt></font></p>
<p><font size="+1"><tt>Trying to compile gnucash-3.7, downloaded
from ponce this morning, and get this</tt></font></p>
<p>
<blockquote type="cite">/tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c:
In function 'gnc_budget_get_rec_time':<br>
/tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c:724:13:
error: G_ADD_PRIVATE [-Werror]<br>
724 | return
recurrenceGetTime(&(GET_PRIVATE(bgt)->recurrence));<br>
| ^~~~~~~~~~~~~~~<br>
cc1: all warnings being treated as errors<br>
make[2]: ***
[libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:237:
libgnucash/engine/CMakeFiles/gncmod-engine.dir/Transaction.c.o]
Error 1<br>
make[2]: *** Waiting for unfinished jobs....<br>
cc1: all warnings being treated as errors<br>
make[2]: ***
[libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:307:
libgnucash/engine/CMakeFiles/gncmod-engine.dir/gnc-budget.c.o]
Error 1<br>
cc1plus: all warnings being treated as errors<br>
make[2]: ***
[libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:69:
libgnucash/engine/CMakeFiles/gncmod-engine.dir/Account.cpp.o]
Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:3965:
libgnucash/engine/CMakeFiles/gncmod-engine.dir/all] Error 2<br>
make: *** [Makefile:163: all] Error 2</blockquote>
</p>
<p>Took the advice of the error log and changed the
gnucash.SlackBuild, to ignore warnings, as follows -</p>
<p>
<blockquote type="cite">51c51<br>
< SLKCFLAGS="-O2 -fPIC"<br>
---<br>
> SLKCFLAGS="-O2 -fPIC -Wno-error"<br>
</blockquote>
</p>
<p>It now compiles successfully. Have I -</p>
<ol>
<li>missed some new instructions on this list</li>
<li>got something missing on my system</li>
<li>or now simply do have to ignore warnings</li>
<li>or something else</li>
</ol>
<p>Comments will be most welcome.</p>
<p>Alex<br>
</p>
<p><br>
</p>
</body>
</html>