Similar question as http://www.keil.com/forum/58410/ . I use complex.h in one c-file. I compile that file as C99. I get the following warnings:
KB: Unexpected type: 6 double _ComplexKB: Unexpected type: 6 double _ComplexKB: Unexpected type: 6 double _ComplexKB: Unexpected type: 6 double _ComplexKB: Unexpected type: 6 double _ComplexKB: Unexpected type: 6 ouble _Complex(3207): warning: #177-D: variable "counter" was declared but never referenced
As you can see the warnings disrupt the compiler output. You can no longer click on the last warning.
I also get red markings in my code with the label: "error: use of undeclared identifier '__I__'".
How can I get rid of these warnings?
The problem is solved in keil version 5.21.1.0. It was present in version 5.18.0.0.
This topic http://www.keil.com/forum/58410/ now refers to http://www.keil.com/support/docs/3870.htm which suggest you to turn of browsing information. If you do this you can no longer click on the compiler errors which is annoying. This is no longer needed in version 5.21.1.0.