Mail Archives: djgpp/2001/05/22/13:54:12
Thomas Schmidt <tschmid8 AT gwdg DOT de> wrote:
> The "hello_world" program is just a tool of solving the REAL problem, of
> course. The real problem is that DJGPP doesn't recognize (i.e., claims
> "implicit declaration" of) two ALLEGRO routines: _install_irq() and
> _remove_irq(), both of which are in "c:\djgpp\allegro\src\djgpp\irq.c".
Ahh... looks like you haven't grasped the C Preprocessor directives,
yet. Either that, or you didn't install Allegro correctly.
The 'implicit declaration' is a warning, telling you that the compiler
knows nothing about these allegro routines, at the time your source
calls them, so it's forced to guess. You're lacking the line
#include <allegro.h>
somewhere close to the beginning of the .c file. This is basic C
language, and in no way particular to RHIDE or DJGPP.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -