Hi Greg,

On Jan 14, 2013, at 11:11 , Greg Aldridge <greg.aldri...@domino-uk.com> wrote:
> Hi all,
> 
> In a C++ header file I have something like the following:
> 
>       /** Class Foo description. */
>       Class Foo
>       {
>       public:
>          /** Method description. */
>          Bar(one::two::three::ConfigStruct, bool flag);
>       };
> 
> And in the corresponding .cpp file I have:
> 
>       namespace six = one::two::three;
>       Foo::Bar(six::ConfigStruct, bool flag)
>       {
>          // Do stuff.
>       }
> 
> In doxygen's output I get the message:
> 
>       C:/Foo.cpp:2: warning: no matching class member found for 
>         Bar(six::ConfigStruct, bool flag)
>       Possible candidates:
>         Foo::Bar(one::two::three::ConfigStruct, bool flag)
> 
> Is there any way to get doxygen to understand the aliased namespace in
> the .cpp file?  I can't find anything obvious in the manual.

I couldn't reproduce this with your example with a default configuration file.

In general doxygen needs to know of the existence of namespaces one, two, and 
three,
and the struct ConfigStruct in order to make the match, so make sure these are 
part of
the input.

Regards,
  Dimitri
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to