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

Bug: Kind of incomplete parser warning message on a not too complicated function #53

Open
arwedus opened this issue Nov 10, 2023 · 0 comments

Comments

@arwedus
Copy link

arwedus commented Nov 10, 2023

Hello!

I see the following warnings in the doxylink output:

Skipping function guard_for_pilot::makeDefaultComfortParameters() noexcept. Error reported from parser was: , found ')'  (at char 1), (line:1, col:2)
Skipping function guard_for_pilot::makeDefaultCommonParameters() noexcept. Error reported from parser was: , found ')'  (at char 1), (line:1, col:2)
...

The code it tries to import looks like this:

namespace guard_for_pilot
{

static hwp::g4p::GuardForPilotParameters const s_default_parameters{};

static ComfortParameters makeDefaultComfortParameters() noexcept
{
    // implementation removed
}

static CommonParameters makeDefaultCommonParameters() noexcept
{
    // implementation removed
}

}

The doxygen (1.9.7) XML section looks like this:

  <compound kind="file">
    <name>general_reaction_parameters.test.cpp</name>
    <path>common/runnables/general_reaction/test/</path>
    <filename>general__reaction__parameters_8test_8cpp.html</filename>
    <includes id="general__reaction__parameters_8test_8hpp" name="general_reaction_parameters.test.hpp" local="yes" imported="no">general_reaction_parameters.test.hpp</includes>
    <class kind="class">guard_for_pilot::GeneralReactionParametersIntegrationTest</class>
    <namespace>guard_for_pilot</namespace>
    <member kind="function" static="yes">
      <type>static ComfortParameters</type>
      <name>makeDefaultComfortParameters</name>
      <anchorfile>namespaceguard__for__pilot.html</anchorfile>
      <anchor>ad25ce9aa91c54a73428027ea94c54ab9</anchor>
      <arglist>() noexcept</arglist>
    </member>
    <member kind="function" static="yes">
      <type>static CommonParameters</type>
      <name>makeDefaultCommonParameters</name>
      <anchorfile>namespaceguard__for__pilot.html</anchorfile>
      <anchor>af526415a16950d4550bea8093b06c4e6</anchor>
      <arglist>() noexcept</arglist>
    </member>

Is this a doxygen or doyxlink error?
Is it maybe caused by the "noexcept" keyword?

@arwedus arwedus changed the title Kind of incomplete parser warning message on a not too complicates function Kind of incomplete parser warning message on a not too complicated function Nov 10, 2023
@arwedus arwedus changed the title Kind of incomplete parser warning message on a not too complicated function Bug: Kind of incomplete parser warning message on a not too complicated function Nov 10, 2023
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