Skip to content

USBGuard fails to build with GCC 16.1 #694

@xelaseer

Description

@xelaseer

When attempting to build USBGuard with GCC 16.1, the build fails with:

138 | tao::pegtl::complete_trace<G, UEventParser::actions>(in, uevent);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
required from here
src/Library/UEventParser.cpp:152:54:
152 | parseUEventFromStringUEventParser::attributes(uevent_string, uevent, trace);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/demangle.hpp:119:26: error: static assertion failed
119 | static_assert( end != std::string_view::npos );
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~

Please see the attached build log.

build.log

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