Page 1 of 1

bug: doxypress reporters errors with duplicated header

Posted: Fri Oct 28 2016 11:24 am
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

Re: bug: doxypress reporters errors with duplicated header

Posted: Sat Nov 12 2016 5:29 am
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!