The compiler does not allow to assign from a variable pointer to a constant pointer, like following:
int main(void)
{
char *Foo="Hello.";
const char *Bar;
const char **Baz;
Bar=Foo;
Baz=&Bar; //no warning, no error
Baz=&Foo; //error #2168
return 0;
}
error #2168: Operands of '=' have incompatible types 'const char * *' and 'char * *'.
I know that Pelles C is strict at type check, but is it intended even for this case?