Mail Archives: djgpp/1998/10/09/13:51:34
On Wed, 07 Oct 1998 22:19:55 +0100, "][v][]2. ][)"
<janjaaps AT yahoo DOT com> wrote:
>Hi ppl, another question from me.
>
>Picture this: I have a program file, and two header files (with source
>files). In the header files are some structures (amongst others). The
>problem is this: in the second header file I declare something like
>this: RGB_color palette[256]; in a structure, where RGB_color is the
>name of a structure from the first header file. Now GCC tells me there
>is a syntax error in that line. I've double-checked it all, and it seems
>to me the problem is that GCC doesn't find the RGB_color structure from
>the first header file. What should I do?
>
#include "firstheader.h"
???
- Raw text -