[previous] 1526 [next] Object with no linkage has same identifier as another object/function with external linkage.
CMA maintenance checks

Cross module analysis has determined that objects or functions have been defined with the same name in different modules. One has external linkage and the other has no linkage (i.e. it is defined at block scope). This is quite legitimate, but not recommended because of the potential for confusion.

For example:

file1.cpp
=======
extern int remake;    // Message 1526 

file2.cpp
=======
void foo(void)
{
    int remake;      // Message 1526 
    ...
}

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents