Compiler Error with Bool
Posted: 07 Nov 2016, 02:34
Bt Builder is failing on powerpc. It gets:
I've been told that it can be fixed by -std=gnu++11 instead of using -std=c++11. I was wondering if anyone knows why. Is it bug in the compiler or my code?
- {l Code}: {l Select All Code}
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;
^~~~
I've been told that it can be fixed by -std=gnu++11 instead of using -std=c++11. I was wondering if anyone knows why. Is it bug in the compiler or my code?