SRC\file.c:180: error: [#70] incomplete type is not allowed
Reasons:
0 Comments
SRC\file.c:183: error: [#513] a value of type <type> cannot be assigned to an entity of type <type>
Reasons:
int i[2]; void * pv; pv = &i; int b = pv[1]; /* Here you will get error */ pi = (int *)pv; /* This is a solution*/ int b = pi[1]; SRC\file.c:178: error: [#119] cast to type <type> is not allowed
Problem: Can not cast to specified type. Reasons:
Example 1: void * a; int b = (int) a; /* Here you get an error 119 */ int * b = (int *) a; /* Here is the solution */ SRC\file.c:178: warning: [#1143-D] arithmetic on pointer to void or function type
Reasons:
Example 1: int i[2]; void * pv; pv = &i; int b = pv[1]; /* Here you will get error */ pi = (int *)pv; /* This is a solution*/ int b = pi[1]; |
AuthorWarnings are important! Archives
May 2017
Categories |