-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colormap static load #2
Comments
This is only possible in c++0x (which is still unavaible in the basic g++ os osx) this doesn't compile on osx (you need a decent compiler) #include int main () { |
ok it seems to be possible using macports, but you have to do this: and -std=c++11 flag should be turned on |
In fact qmake wants to build with system gcc... and add these to neutrino.pri to tackle the default qmake definitions QMAKE_CC = gcc worth the candle? |
done with memcpy |
static colormaps should be staticly written as
unsigned char * p = "\x01\x02\x03\x04...";
instead of
p[0] = 0x01; p[1] = 0x02; p[2] = 0x03; ...
The text was updated successfully, but these errors were encountered: