Skip to content

Compilation error when installing from sources #1170

@correaa

Description

@correaa

Now I am trying to install MrDocs from the sources. I get these compilation errors in Ubuntu 24.04, after following the installation steps.

 git clone https://www.github.com/cppalliance/mrdocs.git
 cd mrdocs
 python bootstrap.py
                 from /home/correaa/mrdocs/include/mrdocs/Metadata/DocComment/Block/AdmonitionBlock.hpp:19,
                 from /home/correaa/mrdocs/include/mrdocs/Metadata/DocComment/Block.hpp:16,
                 from /home/correaa/mrdocs/include/mrdocs/Metadata/DocComment.hpp:19,
                 from /home/correaa/mrdocs/include/mrdocs/Metadata.hpp:16,
                 from /home/correaa/mrdocs/include/mrdocs/Corpus.hpp:19,
                 from /home/correaa/mrdocs/src/lib/Corpus.cpp:13:
/home/correaa/mrdocs/include/mrdocs/Metadata/DocComment/Inline/InlineBase.hpp:340:11: error: expected identifier before ‘this’
  340 |     begin(this auto&& self) noexcept
      |           ^~~~
/home/correaa/mrdocs/include/mrdocs/Metadata/DocComment/Inline/InlineBase.hpp:340:11: error: expected ‘,’ or ‘...’ before ‘this’
/home/correaa/mrdocs/include/mrdocs/Metadata/DocComment/Inline/InlineBase.hpp:351:9: error: expected identifier before ‘this’
  351 |     end(this auto&& self) noexcept
      |         ^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions