Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Literally, this can be translated as "assignment makes/forms a pointer from an integer [value] without [using] an explicit cast".
The term "cast" in C means an explicit cast. It's the obvious one.
The combination "makes [...] without a cast" refers to the fact that your assignment operator is trying to perform an implicit conversion from a pointer to an integer value.
The whole message means that the assignment operator (assignment) is used in its code, the right side of which is a pointer (pointer), and the left side is an integer (integer).
Such code is incorrect in C, because the C language generally forbids implicit conversions between integers and pointers. To convert an integer value to a pointer in C requires an explicit cast, i.e. cast.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question