Hi

I have a project written in C and I'm documenting it with
doxygen 1.8.8 (Windows). Seems to work fine except for
a detail I can't resolve. For some variables that are in both
.c and .h files I get two documentation entries:

.h:
/*! \brief Pointer to SomeType (H-file). */
extern SomeType* const g_pPointer;

.c:
/*! \brief Pointer to SomeType (C-file). */
SomeType* const g_pPointer = ((SomeType*) 0x12345678);

This then gives me two entries in the documentation,
both pointing to the same place:

SomeType* const g_pPointer = ((SomeType*) 0x12345678)
Pointer to SomeType (C-file).
Pointer to SomeType (H-file).
Definition at line 78 of file SomeType.c.

SomeType* const g_pPointer
Pointer to SomeType (H-file).
Pointer to SomeType (H-file).
Definition at line 78 of file SomeType.c.

Changing or moving the doxy comment didn't change the
outcome. Why does doxygen generate two entries when
it knows that they are the same and can combine the
comments in the first case?

Thanks

bye  Fabi


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to