[z88dk-dev] COPT cannot handle non-ascii characters

Bridge to the z88dk-developers mailing list
Post Reply
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

[z88dk-dev] COPT cannot handle non-ascii characters

Post by alvin »

More a note than anything else. COPT crashes when it encounters non-ascii characters. This was found while compiling a program containing Cyrllic text with sdcc. Both compilers (sdcc and sccz80) convert non-ascii characters into DEFB lists before COPT would normally see such text but sdcc also inserts commented out C code into its output. If that C code contains Cyrillic text, COPT crashes and the compile fails.

What I did was add "--no-c-code-in-asm" for sdcc's invocation.



------------------------------------------------------------------------------
Post Reply