pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.07k stars 2.11k forks source link

Documentation generation #4441

Closed aleks-f closed 5 months ago

aleks-f commented 5 months ago

Describe the bug CppParser dos not fully parse the codebase.

To Reproduce mkdoc all

Expected behavior Full documentation generation.

Logs

Building documentation 1.13.1 (using -C /Users/alex/pocoproject/poco/PocoDoc/cfg/mkdoc-poco.xml)
Cleaning build directory: /Users/alex/pocoproject/poco/stage/docbuild
Copying sources
Generating documentation
Application: [Error] Syntax error: Expected: {, found ): /Users/alex/pocoproject/poco/stage/docbuild/Foundation/include/Poco/Any.h(51)
Application: [Error] Syntax error: Expected: }, found [: /Users/alex/pocoproject/poco/stage/docbuild/Foundation/include/Poco/Bugcheck.h(43)
Application: [Error] Syntax error: Expected: ;, found (: /Users/alex/pocoproject/poco/stage/docbuild/Foundation/include/Poco/Dynamic/VarVisitor.h(47)
Application: [Error] Syntax error: Expected: class/struct name: /Users/alex/pocoproject/poco/stage/docbuild/Foundation/include/Poco/MemoryPool.h(242)
Application: [Error] Syntax error: Expected: }, found [: /Users/alex/pocoproject/poco/stage/docbuild/Foundation/include/Poco/NumberFormatter.h(521)
Application: [Error] Syntax error: Expected: ;, found ]: /Users/alex/pocoproject/poco/stage/docbuild/Foundation/include/Poco/NumericString.h(540)
Application: [Error] Syntax error: Expected: class/struct name: /Users/alex/pocoproject/poco/stage/docbuild/XML/include/Poco/XML/XMLStreamParser.h(286)

Additional context Apparently, the problem is CppParser and its inability to deal with some new C++ keywords.