I've just finished compiling the libraries for Allegro in Dev-C++4, and when I go to compile the demo project (code below), I get the error codes below:
1 demo.c undefined or invalid # directive
2 demo.c undefined or invalid # directive
3 demo.c undefined or invalid # directive
5 demo.c undefined or invalid # directive
6 demo.c undefined or invalid # directive
10 demo.c parse error before '\'
22 demo.c 'FALSE' was not declares in this score
23 demo.c 'FALSE' was not declares in this score
26 demo.c ...
...
The really wierd part is the undefined preprocessor directive. I'm absolutely positive that #including these:
#include <string.h>
#include <stdio.h>
#include <time.h>
#include <allegro.h>
#include "demo.h"
Sould have no rammifications on the compilation of the project.
For bandwidth's sake, I've chosen not to include the source for the demo, but I assure you that I have checked through it thoroughly and found no mistakes.
This even happened when I went to compile a regular C++ file - the same errors came when I tried to call iostream as a preprocessor include directive.
I can safely say that this all compiles fine because when I compiled it with my copy of minGW32, it worked great. Is there something wrong with Dev-C++, or am I doing something wrong here?