bug: doxypress reporters errors with duplicated header

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

bug: doxypress reporters errors with duplicated header

Post by marlowa »

If you have a header file duplicated in different directories you get spurious errors. This is with doxypress version 1.2.4. I had this header file below duplicated in the directory structure being processed:

Code: Select all

#ifndef INCLUDED_APM
#define INCLUDED_APM

/**
 * @class apm
 *
 * @brief Something simple
 *
 */
class apm
{
public:

    friend class fred;
    friend class harry;
};
#endif
It gave this doxypress output when processed:

Code: Select all

DoxyPress Version: 1.2.4

**  Read Project Configuration
**  Verify Project Configuration

Initialization
Parse input files
[snip]/apm-doxy3/dir2/apm.h(14): Warning: Return types do not agree for member: fred
   return type: friend class   return type: 

[snip]/apm-doxy3/dir2/apm.h(15): Warning: Return types do not agree for member: harry
   return type: friend class   return type: 


**  Generate Documentation Output
ansel
Posts: 152
Joined: Fri Apr 10 2015 8:23 am

Re: bug: doxypress reporters errors with duplicated header

Post by ansel »

We have found and resolved this issue. The resolution of this warning will be released in 1.2.5, scheduled for release in December.

Thank you for your report!
Ansel Sermersheim
CopperSpice Cofounder
Post Reply