Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2023 07:49:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273685] misc/g810-led: Fails to build with GCC 13: src/helpers/help.h:24:37: error: found ':' in nested-name-specifier, expected '::'
Message-ID:  <bug-273685-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273685

            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 he=
lp
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=3D/usr/local/lib/gcc13  -Wl,-rpath=3D/usr/local/lib/gcc13  -std=
=3Dgnu++11
-DVERSION=3D\"0.4.2\"  -fstack-protector-strong -Wl,-rpath=3D/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=3D/usr/local/lib/gcc13  -Wl,-rpath=3D/usr/local/lib/gcc13  -std=
=3Dgnu++11
-DVERSION=3D\"0.4.2\"  -fstack-protector-strong -Wl,-rpath=3D/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 e=
num
must not use the 'class' keyword
   24 |         enum class KeyboardFeatures : uint16_t {
      |         ~~~~ ^~~~~
      |              -----
src/helpers/help.h:24:37: error: found ':' in nested-name-specifier, expect=
ed
'::'
   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=3D273397
[Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273685-7788>