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

Usage of underscores in parameter names (Origin: bugzilla #775493) #6128

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

Usage of underscores in parameter names (Origin: bugzilla #775493) #6128

doxygen opened this issue Jul 2, 2018 · 0 comments

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

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

On 2016-12-01 21:59:58 +0000, Michel Megens wrote:

Problem description
Having (double) underscores at both ends of a parameter name is parsed wrongly by doxygen. As far as I can tell from the warning messages it is actually interpreting that the underscores as 'bold text'.

Possible solutions
A possible solution would be to turn of any form of markup language parsing for the first argument to the @param tag. Which is something you probably want anyway.

Example
Some (compilable) example sources can be found here: https://gist.github.com/bietje/351fea87b4e50e0db8d9864d0b5b52e4#file-doxy-c

Warnings generated by doxygen
The following warnings were spit out by doxygen:
warning: argument 'strong' of command @param is not found in the argument list of fs_split_path(const char *path)
warning: argument 'path' of command @param is not found in the argument list of fs_split_path(const char *path)
warning: argument 'strong' of command @param is not found in the argument list of fs_split_path(const char *path)
warning: The following parameters of fs_split_path(const char *path) are not documented:

On 2017-01-08 09:25:37 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2017-12-25 18:43:39 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.14. 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 (preferably in the form of a self-contained example).

@doxygen doxygen closed this as completed Jul 2, 2018
albert-github added a commit to albert-github/doxygen that referenced this issue Dec 23, 2024
When having a function like:
```
/// the text
/// \param __a__, __b__ b_fie
void b_fie(int __a__, int __b__);
```
we get warnings like:
```
.../bb.h:3: warning: argument 'strong' of command @param is not found in the argument list of b_fie(int __a__, int __b__)
.../bb.h:3: warning: argument 'b' of command @param is not found in the argument list of b_fie(int __a__, int __b__)
.../bb.h:3: warning: argument 'strong' of command @param is not found in the argument list of b_fie(int __a__, int __b__)
.../bb.h:3: warning: The following parameter of b_fie(int __a__, int __b__) is not documented:
  parameter '__b__'
```

Actually this is a follow up on  doxygen#6128 (Usage of underscore's in parameter names (Origin: bugzilla 775493))
@albert-github albert-github changed the title Usage of underscore's in parameter names (Origin: bugzilla #775493) Usage of underscores in parameter names (Origin: bugzilla #775493) Dec 23, 2024
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