-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Invalid definition for a C++ function taking an array reference as an argument #1753
Comments
No, expected identifier is unrelated to fmtlib/fmt#125: This complaint is about the missing return type. |
I get an error even with return value on Sphinx 1.3b3:
|
Please note that the declaration is |
Can you drop the surrounding braces around |
Unfortunately not, because it changes semantics. |
Yes, this is indeed a bug. Furthermore, the error is not accurate. In this case it should be |
Thanks, @jakobandersen. |
Support `( ptr-declarator )`, e.g., `int (*f)(double)`, or `int (&a)[42]`. Still missing check for compatibility with old id generation scheme.
I get the error
on the following Sphinx code:
The text was updated successfully, but these errors were encountered: