[Bug 273685] misc/g810-led: Fails to build with GCC 13: src/helpers/help.h:24:37: error: found ':' in nested-name-specifier, expected '::'
Date: Sun, 10 Sep 2023 07:49:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273685 Bug ID: 273685 Summary: misc/g810-led: Fails to build with GCC 13: src/helpers/help.h:24:37: error: found ':' in nested-name-specifier, expected '::' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: Alexander88207@protonmail.com Blocks: 273397 CC: Alexander88207@protonmail.com Flags: maintainer-feedback?(Alexander88207@protonmail.com) This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html gmake[1]: Entering directory '/wrkdirs/usr/ports/misc/g810-led/work/g810-led-0.4.2' g++13 -Dhidapi -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -std=gnu++11 -DVERSION=\"0.4.2\" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -fPIC -shared -Wl,-soname,libg810-led.so -o lib/libg810-led.so.0.4.2 src/classes/Keyboard.cpp -lhidapi g++13 -Dhidapi -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -std=gnu++11 -DVERSION=\"0.4.2\" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 src/main.cpp src/helpers/help.cpp src/helpers/utils.cpp src/classes/Keyboard.cpp -o bin/g810-led -lhidapi In file included from src/helpers/help.cpp:17: src/helpers/help.h:24:14: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword 24 | enum class KeyboardFeatures : uint16_t { | ~~~~ ^~~~~ | ----- src/helpers/help.h:24:37: error: found ':' in nested-name-specifier, expected '::' 24 | enum class KeyboardFeatures : uint16_t { | ^ | :: Full log: https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-09-06_17h55m19s/logs/errors/g810-led-0.4.2_1.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397 [Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc. -- You are receiving this mail because: You are the assignee for the bug.