Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typedef in Namespace Not Recognized Despite Valid Using Specifier (Origin: bugzilla #622471) #3819

Closed
doxygen opened this issue Jul 2, 2018 · 0 comments

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity major in component general for ---
Reported in version 1.7.0 on platform Other
Assigned to: Dimitri van Heesch

On 2010-06-23 08:11:00 +0000, chad.partridge@sensingsystems.com wrote:

Below is valid C++ code that was correctly processed by doxygen for versions up to 1.5.7.1. However, from every version 1.5.8 on (we tested even 1.7.0 too), doxygen fails to produce documentation for the action() method because the UInt8 is not recognized as part of the a namespace even though 'using a' was correctly used prior to the action() definition. We believe this to be a significant regression issue that would greatly affect those that make significant use of typedefs in namespaces for large projects. If the cause of the problem is understood, any feedback would be appreciated as we would like to take advantage of any resolution even before the fix finds its way into a future release. Thanks in advance.

namespace a {
typedef unsigned char UInt8;
}

namespace b
{
class Example
{
public:
Example() {};
virtual ~Example() {};

        bool action(a::UInt8 input);
};

}

/// \class b::Example
/// Example class

using namespace b;
using namespace a;

// action (public)
/// Performs an action.
/// \param input The input
/// \return True if successful and false otherwise
//
bool Example::action(UInt8 input)
{
return false;
}

On 2010-06-23 11:28:17 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2010-06-25 11:49:07 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.1. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

On 2010-10-09 08:20:09 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.2. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

@doxygen doxygen closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant