bug: doxypress confused by friend class declarations

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

bug: doxypress confused by friend class declarations

Post by marlowa »

I am seeing this warning:
Warning: Return types do not agree for member: MyFriendClass
return type: friend class return type:
when it sees the following header file line from MyClass.h:
friend class MyFriendClass;

I think this is doxypress not handling friend declarations properly.

marlowa
Posts: 115
Joined: Sun Oct 25 2015 10:52 am

Re: bug: doxypress confused by friend class declarations

Post by marlowa »

It's been a long while since I saw this error from doxypress but it looks like it is back again in version 1.2.4. It is now a parsing warning but I cannot reproduce it using a standalone header file. Like some of the other bugs I've found, it might be to do with multiple header files interacting. I will do some more experiments to come up with a simple standalone example.

ansel
Posts: 116
Joined: Fri Apr 10 2015 8:23 am

Re: bug: doxypress confused by friend class declarations

Post by ansel »

Have you been able to reproduce this issue with a test case you can share? We have been unable to reproduce the issue as described.
Ansel Sermersheim
CopperSpice Cofounder

Post Reply