Re: Power PC error and Bt Builder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2016-11-05 at 09:15 -0400, Dennis Payne wrote:
> Bodhi is complain that Power PC build of Bt Builder is failing.
> Anyone
> seen this error:
> 
> src/psuedo3d.h:18:129: error: could not convert 'true' from 'bool' to
> '__vector(4) __bool int'
>    virtual void loadImageOrAnimation(const char *file, SDL_Surface
> **img, MNG_Image **animation, bool imageWindow, bool physfs = true) =
> 0;
> 
> It seems that bool is being redefined as "__vector(4) __bool int" so
> that true can no longer convert properly. Is this a compiler issue
> that
> will just be resolved if I wait.

I noticed this when building endless-sky for ppc64le. After some web
searching for that error, I found some patches in an openSUSE package
that switched the C++ standard from c++11 to gnu++11. I patched
endless-sky this way and the build passed.

--- SConstruct.orig2	2016-10-04 05:44:52.000000000 -0700
+++ SConstruct	2016-10-31 23:09:20.880648829 -0700
@@ -22,7 +22,7 @@
 
 Help(opts.GenerateHelpText(env))
 
-flags = ["-std=c++11", "-Wall"]
+flags = ["-std=gnu++11", "-Wall"]
 if env["mode"] != "debug":
 	flags += ["-O3"]
 if env["mode"] == "debug":

https://pkgs.fedoraproject.org/cgit/rpms/endless-sky.git/commit/?id=1fd
8a1dc86008db4d9f0f1cbcc2b9b52f2a97591
_______________________________________________
Fedora Games SIG mailing list -- games@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to games-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Music]     [Fedora Extras]     [Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [CentOS]     [Gimp]     [Yosemite News]     [Yosemite Camping]

  Powered by Linux