8000 Multiple occurrences of the same macro definition in a file result are assigned the same ID · Issue #11614 · doxygen/doxygen · GitHub
[go: up one dir, main page]

Skip to content
Multiple occurrences of the same macro definition in a file result are assigned the same ID #11614
@ilg-ul

Description

@ilg-ul

Describe the bug
If a macro is defined multiple times in a file, the memberdef get the same ID.

The multiple definitions are rendered separately, but in the index all point to the same definition.

To Reproduce
Attached is a simple test to reproduce this.

Expected behavior
Each definition be uniquely identified.

Version
1.14.0

Additional context
Probably adding the line number when computing the hash would solve this.

duplicate-id-issue.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0