grischka wrote:
uso ewin wrote:
I'm sorry but I don't have any arm machine,
does someone have an idea how to fix, or debug this ?
ARM defines CHAR_IS_UNSIGNED which sets
tcc_state->char_is_unsigned.
Fixed in http://repo.or.cz/tinycc.git/commitdiff/9f79b62e here:
@@ -4381,6 +4385,8 @@ ST_FUNC void unary(void)
case TOK_STR:
/* string parsing */
t = VT_BYTE;
+ if (tcc_state->char_is_unsigned)
+ t = VT_BYTE | VT_UNSIGNED;
str_init:
if (tcc_state->warn_write_strings)
t |= VT_CONSTANT;
-- gr
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel