Static Analysis Problem Type Reference
An inconsistent data declaration was found.
In this case, the same name was declared as an pointer variable in two compilation units, but the pointer types in the two declarations did not match.
|
ID |
Code Location |
Description |
|---|---|---|
|
1 |
Definition |
The first definition |
|
2 |
Definition |
The second definition |
extern int *p;
int main(int argc, char **argv)
{
return *p;
}
file2.c:
float fvar;
float *p = &fvar;