Репозитории ALT
S: | 0.9.27-alt4.740.g347c036 |
5.1: | 0.9.25-alt1 |
4.1: | 0.9.23-alt4 |
4.0: | 0.9.23-alt4 |
3.0: | 0.9.22-alt1 |
Группа :: Разработка/C
Пакет: tcc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: tcc-0.9.23-pointer-operators.patch
Скачать
Скачать
diff -urN tcc-0.9.23.orig/tcc.c tcc-0.9.23/tcc.c
--- tcc-0.9.23.orig/tcc.c 2005-06-18 01:09:15 +0300
+++ tcc-0.9.23/tcc.c 2006-10-04 14:32:21 +0300
@@ -5570,7 +5570,7 @@
gen_op(TOK_PDIV);
} else {
/* exactly one pointer : must be '+' or '-'. */
- if (op != '-' && op != '+')
+ if (op != '-' && op != '+' && op != '&')
error("cannot use pointers here");
/* Put pointer as first operand */
if (bt2 == VT_PTR) {