[an error occurred while processing this directive]
|
Хотел написать макрос типа:
#define SYM 0;
#define DISP(sym1, sym2) \
{ \
displed[0] = (sym1); \
displed[1] = (sym2); \
}
DISP(SYM, SYM);
Компилятор выдал ошибки:
Error[Pe018]: expected a ")"
Error[Pe029]: expected an expression
Error[Pe018]: expected a ")"
Error[Pe029]: expected an expression
Total number of errors: 4
Total number of warnings: 0
В то время как вызов макроса DISP(0, 0):
Total number of errors: 0
Total number of warnings: 0
В чем тут дело?
E-mail: info@telesys.ru