Skip to content

C++ standard to use #3296

@BsAtHome

Description

@BsAtHome

The configure script tests for c++17 (AX_CXX_COMPILE_STDCXX(17, , mandatory) in src/configure.ac:42. However, the src/Makefile:258 sets the standard to gnu++20.

If the standard is supposed to be c++20 (with gnu extensions), then it must be tested in configure. For the current build, I suggest to use --std=c++17 to be compatible with clang and change the Makefile accordingly.

Other suggestions?

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