Why do I get a global declaration error in PolySpace?
Show older comments
When starting an analysis of my code I get the following error message in the log file:
Verifying cross-files ANSI C compliance
/home/sources/myfile.h:107: Error: global declaration of 'ABC' variable has incompatible type with its definition
declared 'non qualified' type incompatible with defined 'const' type
myfile.c:836: other localisation for previous error
Accepted Answer
More Answers (0)
Categories
Find more on Bug Finder Analysis in Polyspace Platform User Interface in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!