GNOME Bugzilla – Bug 629249
Incorrect "References" and "Referenced by"
Last modified: 2015-12-30 10:19:34 UTC
For plain C-code that contains type-cast in initializer (see attached example), the variables after this initializer are not "Referenced". In the attached example all variables are listed, but only for the first 3 variables the reference information is correct. The references for the last three identifiers are missing. The problem is the typecast in the initializer "(Bool)" (line 9), if it is removed, everything works fine. Although the cast is not needed by C-language, it is required by our MISRA-checker.
Created attachment 169935 [details] Example to reproduce the error (25 lines) This is the example file to reproduce the error. It is not the original source, but it is very similar to the original structure.
I've just pushed a proposed patch to github (pull request 401).
Thanks, I've merged the pull request
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).