Re: [cc65] two little bugs

From: Ullrich von Bassewitz <>
Date: 2009-08-20 21:07:15
On Thu, Aug 20, 2009 at 08:50:56PM +0200, Ullrich von Bassewitz wrote:
> I've had a look into the standard, but all I could find in the hurry was
>     - remove implicit function declaration
> in the list of differences to C89 in the foreword. I will recheck this and
> revert the change if necessary.

Ok, found it.

ISO/IEC 9899:1999 (E), 6.5.1 "Primary expressions":

  2 An identifier is a primary expression, provided it has been declared as
    designating an object (in which case it is an lvalue) or a function (in
    which case it is a function designator).76)

Footnote 76 says:

  76) Thus, an undeclared identifier is a violation of the syntax.

BTW: If anybody is interested in the C standard, here is an almost exact copy
as a free download:

This is the last comitee draft for technical corrigendum 3. Since there were
not many differences between TC2 and TC3, the last draft probably even better
than the original standard (which I payed €€ for).



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Aug 20 21:09:53 2009

This archive was generated by hypermail 2.1.8 : 2009-08-20 21:09:55 CEST