Re: [cc65] Multi-line macro bug

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2001-06-24 14:37:02


Hello Adam,

Saturday, June 23, 2001, 6:43:40 PM, you wrote:

AD> Hi!

AD> There seems to be a bug concerning multi-line macros in the C preprocessor in 
AD> cc65 version 2.6.1 and the latest snapshot. When trying to compile the 
AD> following program: 

AD> #define HELLO(x,y)  x = y; \
AD>                     y = x;

AD> void
AD> main(void)
AD> {
AD>         int a,b;
AD>         HELLO(a,b);
AD> }

AD> cc65 says "Error: Invalid input character with code 0A". The same code 
AD> compiles fine under cc65 version 2.4.1.

looks like a windoze vs linux related problem to me.... ppl are having
this (coincidence, also related to multiline macros) with the cygwin
port of gcc aswell.


-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
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 : 2001-12-14 22:05:40 CET