Skip to content

4.1.0 release: Invalid C++ declaration: Expected identifier in nested name #9433

@jumaffre

Description

@jumaffre

Describe the bug

After the recent upgrade to 4.1.0, we now get the following error when building documentation for the CCF project (full error in our CI):

Exception occurred:
  File "/__w/1/s/env/lib/python3.8/site-packages/sphinx/util/cfamily.py", line 275, in fail
    raise self._make_multi_error(errors, '')
sphinx.util.cfamily.DefinitionError: Invalid C++ declaration: Expected identifier in nested name. [error at 8]
  typename

This happens when reading heavily-templated C++ sources (src/kv/ folder), documented with Doxygen (1.8.13).

How to Reproduce

$ git clone https://github.com/microsoft/CCF.git
$ cd CCF
$ ./livehtml.sh

Expected behavior

No response

Your project

https://github.com/microsoft/CCF

Screenshots

No response

OS

Linux

Python version

3.8.9

Sphinx version

4.1.0

Sphinx extensions

No response

Extra tools

Doxygen

Additional context

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions