Re: [cc65] More on the prototype bug

From: Andrew J. Kroll <forge1dr.ea.ms>
Date: 2006-04-01 23:02:38
> 
> 
> On Sat, Apr 01, 2006 at 04:11:46AM -0500, Andrew J. Kroll wrote:
> > Here is the small patch that seems to fix the bug. I hope I did the right
> > thing, but it does seem to fix the problem.
> 
> Not really. Your patch considers any K&R function equal to any new style
> prototype, which is not, what should happen. From ISO/IEC 9899:1999 (E),
<SNIP>
> The place is right, and the change will work around the problem, but as a side
> effect, it accepts invalid code. It is ok to make your code compile, but it is
> not sufficient as a general solution for cc65.
<SNIP>

Excellent. Well, now that the leg work is done in finding the point of issue,
The janitorial work on the actual fix should be alot easier for you. Glad
I could be of some form of assitance.

I can't wait to see the official patch.

Yours,
-- 
Andrew J. Kroll
Software and Hardware Engineer and Consultant
Grafixoft http://dr.ea.ms/HW/
----------------------------------------------------------------------
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 Apr 1 23:02:55 2006

This archive was generated by hypermail 2.1.8 : 2006-04-01 23:02:58 CEST