riffraff@altger (12/21/87)
hello Olof,
since i got the same problem, you are describing, i think i can
help you in that matter.
first of all: ITS A BUG ! in the microware C-compiler 2.1 (i suppose
thats the one you are using ?!).
instead of writing :
int (*func(fname)) ()
you should declare the following:
int (*func()) (fname)
---------
thats all ..... at least it was ok with my stuff !!
really wierd bug, but there are some more .....
eg:
struct test {
char *first;
int somestuff;
} * mystruct;
now u want to do following (e.g.)
strcpy( mystruct->first, anotherstring);
HELL that gives an {_Error !!!! try it !!
the problem is confusing, i got around it by using
a temporary * char.........
Best wishes for further porting .....
Reimer Mellin
USENET: .... mcvax!unido!altger!riffraff
FIDONET: Reimer Mellin Net 507/14, TBUS muenchen
PS: i'm in NO way connected to ALTOS {_and the above
statements are my own oppinions .......
in