Can you say what compiler you are using?
J'
On Fri, Aug 21, 2020 at 10:17:47PM +0300, opensuse.lietuviu.kalba wrote:
2020-08-21 20:42, John Darrington ra????:
> I think you can override this with -Wno-error=return-type or something
similar.
> It differs with according to gcc version. Please check the
documentation for
> whatever gcc version you are using.
Thanks. I re-enabled libpsppire-glade?? and I tried to use
-Wno-error=return-type . Compilation still aborted for openSUSE
Tumbleweed, but now at:
[ 382s] ./src/language/stats/aggregate.h:54:30: error: function 'agr_func_tab' redeclared as variable
[ 382s] 54 | extern const struct agr_func agr_func_tab[];
[ 382s] | ^
[ 382s] src/ui/gui/dummy.c:47:5: note: previously declared here
[ 382s] 47 | int agr_func_tab () {}
[ 382s] | ^
[ 382s] lto1: fatal error: errors during merging of translation units
[ 382s] compilation terminated.
[ 382s] lto-wrapper: fatal error: gcc returned 1 exit status
[ 382s] compilation terminated.
See build log for more details.
openSUSE 15.2 and older systems had no such problem.
Thus I will continue to use patch to prevent libpsppire-glade compilation.
--
Regards,
Mindaugas