Mail Archives: djgpp/1998/02/01/04:33:22
Ok here's the problem. I want to use some 3d routines from Andre
Lamothe's book, Black Art of 3d Game Programming. Unfortunately the code
is for Borland and doesn't want to compile. I am attempting to take some
of the routines and use them with allegro for a project i am working on.
I keep getting this error though:
Error: type specifier omitted for parameter
Error: parse error before '*'
they are referring to this function declaration:
char *PLG_Get_Line(char *string, int max_length, FILE *fp);
i think that the char type might be a typo since in the definition the
return type is int. Anyway, I was wondering if anyone can see something
dumb that I'm trying to do at a glance. Any advice would be appreciated.
thanks
fritz AT flash DOT net
- Raw text -