Compile Error on openSUSE Leap 42.1

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
H.R.Gargi

Compile Error on openSUSE Leap 42.1

Post 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
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Compile Error on openSUSE Leap 42.1

Post 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.
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Re: Compile Error on openSUSE Leap 42.1

Post 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.
Locked

Return to “Closed Bugs”