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

From: Ullrich von Bassewitz <uz1musoftware.de>
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.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 13:51:28 2009

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