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

Documentation build failure with sphinx 3.1 #1795

Closed
xvitaly opened this issue Jul 27, 2020 · 2 comments
Closed

Documentation build failure with sphinx 3.1 #1795

xvitaly opened this issue Jul 27, 2020 · 2 comments

Comments

@xvitaly
Copy link
Contributor

xvitaly commented Jul 27, 2020

DefinitionError: Error when parsing function declaration:

  File "/usr/lib/python3.9/site-packages/sphinx/domains/cpp.py", line 6099, in _parse_type
    raise self._make_multi_error(prevErrors, header)
sphinx.util.cfamily.DefinitionError: Error when parsing function declaration.
If the function has no return type:
  Error in declarator or parameters-and-qualifiers
  Invalid C++ declaration: Expecting "(" in parameters-and-qualifiers. [error at 128]
    template<typename CompiledFormat, typename... Args, typename Char = typename CompiledFormat::char_type, CompiledFormat> ::value std::basic_string< Char > format (const CompiledFormat &cf, const Args &... args)
    --------------------------------------------------------------------------------------------------------------------------------^
If the function has a return type:
  Error in declarator or parameters-and-qualifiers
  If pointer to member declarator:
    Invalid C++ declaration: Expected '::' in pointer to member (function). [error at 154]
      template<typename CompiledFormat, typename... Args, typename Char = typename CompiledFormat::char_type, CompiledFormat> ::value std::basic_string< Char > format (const CompiledFormat &cf, const Args &... args)
      ----------------------------------------------------------------------------------------------------------------------------------------------------------^
  If declarator-id:
    Invalid C++ declaration: Expecting "(" in parameters-and-qualifiers. [error at 154]
      template<typename CompiledFormat, typename... Args, typename Char = typename CompiledFormat::char_type, CompiledFormat> ::value std::basic_string< Char > format (const CompiledFormat &cf, const Args &... args)
      ----------------------------------------------------------------------------------------------------------------------------------------------------------^
The full traceback has been saved in /tmp/sphinx-err-363v0ipx.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Traceback (most recent call last):
  File "/builddir/build/BUILD/fmt-7.0.1/doc/build.py", line 72, in <module>
    build_docs(sys.argv[1])
  File "/builddir/build/BUILD/fmt-7.0.1/doc/build.py", line 53, in build_docs
    check_call([sphinx_build,
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)

Sphinx-doc ticket: sphinx-doc/sphinx#8013

@xvitaly
Copy link
Contributor Author

xvitaly commented Jul 28, 2020

Doxygen issue: doxygen/doxygen#7927

@vitaut
Copy link
Contributor

vitaut commented Aug 26, 2020

Thanks for reporting. This is annoying but doesn't affect the docs. Hopefully doxygen/doxygen#7927 will be fixed.

@vitaut vitaut closed this as completed Aug 26, 2020
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

2 participants