Re: [cc65] Incomplete type declaration for structures

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-05-29 14:10:35
On Sat, May 28, 2005 at 05:12:37PM +0200, davide.bologna@katamail.com wrote:
> I wrote a piece of code with two structure cross-referencing
> themselves. GCC compiles this with no problem while CC65 complain about
> the size of data type. To make you better understand the code is like
> this:
>
>     struct y;
>     struct x { struct y *py; };
>     struct y { struct x *px; };

Above code compiles without problems with a patched 2.10.1 compiler and with
the current snapshot. If you're using the latest version, please supply a
small(!) piece of code that shows the error, otherwise I would suggest that
you upgrade the compiler.

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 Sun May 29 14:10:42 2005

This archive was generated by hypermail 2.1.8 : 2005-05-29 14:10:44 CEST