Name: Anonymous 2009-06-09 18:31
Why does gcc bitch about incompatible pointer types?
A variable
A function
And a function call like this
Compiles fine, and works fine. But when I change the type, for example to
Does gcc hate me?
A variable
int number;A function
func(int *number);And a function call like this
func(&number);Compiles fine, and works fine. But when I change the type, for example to
uint16_t number; func(uint16_t *number); gcc throws a warning about incompatible pointer type.Does gcc hate me?