Re: [cc65] another little bug :)

From: Groepaz <groepaz1gmx.net>
Date: 2009-01-29 16:30:54
On Donnerstag 29 Januar 2009, Ullrich von Bassewitz wrote:
> On Thu, Jan 29, 2009 at 12:45:09AM +0100, Groepaz wrote:
> > #pragma charmap (0x00, 0x00);
> >
> > gives "index out of range"
>
> You cannot remap the character with the value '\0', because it's the zero
> terminator in C strings.

mmmmh, i am not sure if i understand why this is a problem... ofcourse when i 
remap 0 to something else then the c string functions will no more work. but 
i can just aswell remap some other character to 0 and screw up the string 
functions too =)

what i mean is... i should be allowed to shoot into my feet when i want to :)

or is there a more subtle reason that would prevent the compiler from actually 
working when 0 is mapped to something else?

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

I love my country... but I fear my government!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 29 16:30:59 2009

This archive was generated by hypermail 2.1.8 : 2009-01-29 16:31:00 CET