I'm working on porting my code over to Mac which compiles fine on my 64bit Windows machine. Apparently one of the libraries I am utilizing (Awesomium) isn't compiled to 64bit code, so I have to compile my code as a 32bit binary.
I'm getting an error when trying to compile 32bit binary with GCC 4.8.
In file included from /opt/local/include/gcc48/c++/random:50:0,
from /opt/local/include/gcc48/c++/bits/stl_algo.h:67,
from /opt/local/include/gcc48/c++/algorithm:63,
from /Library/Frameworks/SFML.framework/Headers/System/Utf.hpp:32,
from /Library/Frameworks/SFML.framework/Headers/System.hpp:43,
from /Library/Frameworks/SFML.framework/Headers/Window.hpp:32,
from /Users/ryan/projects/ArchaicEngine/ArchaicEngine/includes/ArchaicEngine/Graphics/RenderWindow.h:4,
from /Users/ryan/projects/ArchaicEngine/ArchaicEngine/src/Graphics/RenderWindow.cpp:1:
/opt/local/include/gcc48/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
{ typedef unsigned __int128 type; };
Basically SFML includes <algorithm>
which then includes <random>
which uses __int128 which is unavailable to 32bit binaries. How can I get this to compile?