Page 1 of 1

Compile Error on openSUSE Leap 42.1

Posted: Tue Mar 22, 2016 16:35
by H.R.Gargi
Hi! The last revisions I got a compiling error on opensuse. Here is the message of git 904a027. Some revisions before it worked.

Code: Select all

/usr/src/packages/BUILD/gzdoom-1720/src/zscript/zcc_expr.cpp:336:117: note:   no known conversion for implicit 'this' parameter from 'void (*)()' to 'EvalConst2op {aka ZCC_ExprConstant* (*)(ZCC_ExprConstant*, ZCC_ExprConstant*, FSharedStringArena&)}'
src/CMakeFiles/zdoom.dir/build.make:9781: recipe for target 'src/CMakeFiles/zdoom.dir/zscript/zcc_expr.cpp.o' failed
make[2]: *** [src/CMakeFiles/zdoom.dir/zscript/zcc_expr.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:862: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.y0Iy6F (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.y0Iy6F (%build)

Thanks for any help!

Gargi

Re: Compile Error on openSUSE Leap 42.1

Posted: Tue Mar 22, 2016 20:47
by Graf Zahl
Please repost this at the ZDoom forum. The code in question is work in progress so I won't do it myself.

Re: Compile Error on openSUSE Leap 42.1

Posted: Wed Mar 23, 2016 7:18
by _mental_
If info on distrowarch is correct your system comes with GCC 4.8. This version is not supported. GCC 4.9 should be able to build (in theory) and 5.3 will work for sure.