[Doxygen-users] Warning: no matching class member found for ....
Brought to you by:
dimitri
From: Stefan W. <sx...@fr...> - 2005-05-12 10:42:46
|
Hi! > Doxygen 1.4.2 on SunOS 5.8 has problems with the following file: > > ------- foo.cpp --------------------------------------------- > /** @file */ > > namespace NS { > > /** S1 */ > struct S1 {}; > > /** > * @class S2 > * This is S2 > */ > struct S2 { > void f(); > }; > > /** This is S2::f() */ > void S2::f() {} > > } > ------------------------------------------------------------- > > I generated a Doxyfile with 'doxygen -g' and then edited Doxyfile, > setting 'QUIET = YES'. When I ran doxygen I got: > > foo.cpp:17: Warning: no matching class member found for > void NS::S2::f() > Possible candidates: > void NS::S2::f() I think that's realy a bug, because I encountered similar problems. Another workaround (in my case) is to add the namespace to the \class tag like this: /** * @class NS::S2 * This is S2 */ struct S2 { void f(); }; This shouldn't be necessary but should solves the problem for now. Regards Stefan |