GLFW doesnt like this preprocessor thingy

Monkey Forums/Monkey Bug Reports/GLFW doesnt like this preprocessor thingy

slenkar(Posted 2012) [#1]
If you put
#MOJO_IMAGE_FILTERING_ENABLED="False"

at the beginning of any GLFW app it wont compile, try it with any bananas programs


dawlane(Posted 2012) [#2]
It will also do it with "True" as well and it's not limited to just that directive. That's down to good old C/C++ telling you that the identifier is undeclared. What ever gets put between the quotes on a directive just gets passed on to the cpp file. So stick to uncapitalised true and false just to be safe.
Like wise to set the application windows title with out errors you have to do "~qTITLE~q" as the quotes don't get passed on.
Think it should be something that should be mentioned in the docs.


slenkar(Posted 2012) [#3]
thanks for the help