Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

c-file include header-file twice

I work with the MDK version from Keil... In my project I've got three separate c-files with their own header-files.

I can see all three c-files in the project workspace with their included header-files. So far so good, but I don't know why some c-files include one and the same header-file twice?

I don't include any header-file twice. In one header-file I use one extern variable declaration (not definition). I use this variable in two c-files. In on e of them (without the declaration) - µvision included this header-file twice. What's the specific reason for this property?

thanks in advance
Frank