Re: [Doxygen-users] Bug related to grouping and namespaces.
Brought to you by:
dimitri
From: 'Carlo W. <ca...@al...> - 2001-11-21 15:07:39
|
On Wed, Nov 21, 2001 at 09:16:29AM -0000, Dalton, Barnaby wrote: > > I didn't get the attachment but I think I have experienced a similar > problem. The case I had was grouping functions defined at namespace scope > (as opposed to member fns of a class). I found that if I did a @ingroup in > both the header and implementation file then the function was documented > properly. > > Barney Argh - I forgot the attachment :). I'll attach it now. But you're right, that solved the problem. Nevertheless, this is a bug. I suggest to solve it as follows: When a function (prototype, definition and/or extern declaration) is marked as belonging to a group, then that should take precedence over a (previously read) definition without any comment. I found another bug by the way: the order of reading the input files matters for addtogroup and defgroup. I had one single defgroup in one file, and used addtogroup everywhere else. But doxygen refused to process the defgroup because it already (first) saw an addtogroup. I think that the order in which input files are read shouldn't matter here. -- Carlo Wood <ca...@al...> |