AmigaActive (1553/2307)

From:Brian Kimpton
Date:23 Oct 2000 at 23:33:40
Subject:Help with C Programming

After sacrificing 2 goats, 1 chicken and a partially used virgin, I have to incant:

Just a quick question. When I try compiling a program with StormC v3.0, I get the following errors (52 to be precise, the last one saying there are *too many* errors):

*Error:* Declaration expected.
#...pictureclass.h#, Line 226: UBYTE red,green,blue;

*Error:* ";" expected.
#...pictureclass.h#, Line 226: UBYTE red,green,blue;

I've looked at pictureclass.h line 226:

struct ColorRegister
{
UBYTE red, green, blue;
};

and can not see what's wrong. If the source code I'm trying to compile will help, it can be found in the ReActor.guide! (The Making it work Link)

Anyone got any ideas ?

TIA



Bri Kimpton
___________

Help a nun kick the habit!
___________

Quote carefully and read all ADMIN:README mails