Re: Re[4]: [cc65] Bugs?

Date view Thread view Subject view

From: Mike McCarty (jmccarty_at_ssd.usa.alcatel.com)
Date: 2002-03-05 22:08:35


On Tue, 5 Mar 2002, groepaz wrote:

> its implicitly int in this case if my memory serves me right....

The syntax

struct s *p;

declares p to be of type pointer to struct s. At this point we still
don't know the size of an s. It does not default to int. I quote the Standard:

       6.2.5  Types

       [#1]  ...  Types are partitioned
       into object types (types that  describe  objects),  function
       types  (types that describe functions), and incomplete types
       (types that describe objects but lack information needed  to
       determine their sizes).

Mike
-- 
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
I can explain it for you, but I can't understand it for you.
I don't speak for Alcatel      <- They make me say that.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-03-05 22:09:01 CET