bug: return type differing between cpp file and h file

Discuss how to use DoxyPress
Post Reply
marlowa
Posts: 115
Joined: Sun Oct 25 2015 10:52 am

bug: return type differing between cpp file and h file

Post by marlowa »

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.

barbara
Posts: 281
Joined: Sat Apr 04 2015 2:32 am

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

Post by barbara »

Thank you for submitting your issue.

We will run a test in DoxyPress.

Post Reply