bug: return type differing between cpp file and h file

Discuss how to use DoxyPress

bug: return type differing between cpp file and h file

Postby marlowa » Tue Oct 27 2015 1:51 pm

I have a class with a function that returns an integer via a typedef that is scoped to that class, e.g.:
MyTypeDef doSomething() in the header file
and MyClass::MyTypedef MyClass::doSomething() in the cpp file.

DoxyPress is complaining: Warning: no uniquely matching class member found for <headerFileFunctionDecl>

I saw similar warnings when the return type was not scoped to the class. Those warnings were useful and I have changed my headers in those cases, making it <missingClassName>::MyReturnType. But I don't want to do that in this case since the class name is in scope in the header file because it is the class that is declaring the function. Hence, I think this is a bug.
marlowa
 
Posts: 57
Joined: Sun Oct 25 2015 10:52 am

Re: bug: return type differing between cpp file and h file

Postby barbara » Tue Oct 27 2015 3:59 pm

Thank you for submitting your issue.

We will run a test in DoxyPress.
barbara
 
Posts: 59
Joined: Sat Apr 04 2015 2:32 am


Return to User Support

cron