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
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