Im getting an error "Error: Size of data type is unknown" for the following code: struct someStruct { int a; int b; int c; int d; }; later... int *ptr; ptr = malloc(sizeof(struct someStruct)); Is my syntax faulty, or does the compiler not support this? ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sat Aug 8 07:37:10 2009
This archive was generated by hypermail 2.1.8 : 2009-08-08 07:37:13 CEST