#define __GNUC__ = 2.1
__GNUC__ nowadays as macro seems to mean the "GNU C dialect" rather than the compiler itself. See also http://gcc.gnu.org/ml/gcc/2008-07/msg00026.html This patch will probably cause problems of various kinds but maybe we should try nonetheless.
This commit is contained in:
4
tccgen.c
4
tccgen.c
@ -3104,10 +3104,14 @@ static void parse_attribute(AttributeDef *ad)
|
||||
case TOK_MODE_DI:
|
||||
ad->a.mode = VT_LLONG + 1;
|
||||
break;
|
||||
case TOK_MODE_QI:
|
||||
ad->a.mode = VT_BYTE + 1;
|
||||
break;
|
||||
case TOK_MODE_HI:
|
||||
ad->a.mode = VT_SHORT + 1;
|
||||
break;
|
||||
case TOK_MODE_SI:
|
||||
case TOK_MODE_word:
|
||||
ad->a.mode = VT_INT + 1;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user