Код
void Dummy(int* a) {
*a = 0;
};
void Test() {
int* a = 0;
Dummy(&a);
};
Выдает варнинг, тогда как я бы хотел видеть в этом месте ошибку. Как переключить?
test.c:1076:3: warning: passing argument 1 of 'Dummy' from incompatible p
inter type [enabled by default]
test_emac.c:873:6: note: expected 'int *' but argument is of type 'int **'