Re: [cc65] sizeof(struct ...)

From: Ullrich von Bassewitz <>
Date: 2009-08-08 13:49:56
On Sat, Aug 08, 2009 at 12:37:04AM -0500, Scott Hutter wrote:
> Im getting an error "Error: Size of data type is unknown" for the following
> code:

Sorry, but I cannot reproduce this error here. Please give me compiler version
and a complete test program that is as short as possible.

Are you sure that "struct someStruct" is actually defined? You will get the
error if the struct is unknown when sizeof is used.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Aug 8 13:51:28 2009

This archive was generated by hypermail 2.1.8 : 2009-08-08 13:51:29 CEST