[ERROR]
There are two pointers in the statement pointing to non-equal types.
void main() {
int *i;
const int *ci;
char *c;
i=ci; // C: warning, C++ error, C++ -ec warning
i=c; // C: warning, C++: error
}
Both pointers must point to equal types. If the types only differ in the qualifiers (const, volatile) try to compile with the option -ec.