Re: [cc65] Possible bug WRT NULs in string literals

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-07-17 15:03:05


On Thu, Jul 17, 2003 at 02:55:49PM +0200, Andre Majorel wrote:
> It would appear that cc65 does not support embedded NULs in
> string literals.

This is correct, and it's a cc65 bug. For now, please use

    const unsigned char charset[32] = {
        0x00, 0x15, 0x20, 0x00, 0x20, 0x00, 0x20, 0x00,
        0x00, 0x14, 0x02, 0x04, 0x0a, 0x04, 0x0a, 0x04,
        0x20, 0x00, 0x20, 0x00, 0x20, 0x05, 0x2a, 0x1f,
        0x0a, 0x04, 0x0a, 0x04, 0x0a, 0x14, 0x2a, 0x3c,
    };

as a workaround.

Thanks for the report!

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 : 2003-07-17 15:03:23 CEST