OOGL
OOGL copied to clipboard
If i not place #include <GL/OOGL.hpp> statement just before my main function, compiler gives error messages
trafficstars
#include <Garbage.H>
#include <Alert.H>
#include <Game.H>
#include <GL/OOGL.hpp>
int main(void)
{
}
Is okay but i can't do it like that because my libraries need GL namespace and putting include statement above makes compiler give error
In the first statement of Garbage.H, for example, i make few definitions for my personal preferences, like writing Integer instead of int.
#define Integer int
When i put the include statement above, compiler gives a meaningless error message:
include/Garbage.H:20:17: error: expected ‘)’ before ‘int’
#define Integer int
Even if i remove the define statement, it gives the a similar error from another file. What is the problem?
Can you upload your Garbage.H file somewhere?