Package Details: g810-led 0.4.3-1

Git Clone URL: https://aur.archlinux.org/g810-led.git (read-only, click to copy)
Package Base: g810-led
Description: Linux led controller for Logitech G213, G410, G413. G512, G513, G610, G810, G815, G910 and GPRO Keyboards
Upstream URL: https://github.com/matmoul/g810-led
Licenses: GPL3
Provides: g213-led, g410-led, g413-led, g512-led, g513-led, g610-led, g810-led, g815-led, g910-led, gpro-led
Submitter: matmoul
Maintainer: None
Last Packager: matmoul
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-14 19:52 (UTC)
Last Updated: 2023-01-14 19:52 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

pavethem commented on 2024-04-29 11:21 (UTC) (edited on 2024-04-29 11:21 (UTC) by pavethem)

this fails to build with:


g++ -Dhidapi -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -DVERSION=\"0.4.3\" -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto src/main.cpp src/helpers/help.cpp src/helpers/utils.cpp src/classes/Keyboard.cpp -o bin/g810-led -lhidapi-hidraw
In Datei, eingebunden von src/main.cpp:23:
src/helpers/help.h:24:14: Warnung: ausführliche Typ-Spezifikation für einen enum mit Gültigkeitsbereich darf nicht das Schlüsselwort »class« verwenden
   24 |         enum class KeyboardFeatures : uint16_t {
      |         ~~~~ ^~~~~
      |              -----
src/helpers/help.h:24:37: Fehler: »:« in Spezifikation mit geschachteltem Namen gefunden, »::« erwartet
   24 |         enum class KeyboardFeatures : uint16_t {
      |                                     ^
      |                                     ::
src/helpers/help.h:24:20: Fehler: »KeyboardFeatures« wurde nicht deklariert
   24 |         enum class KeyboardFeatures : uint16_t {
      |                    ^~~~~~~~~~~~~~~~
src/helpers/help.h:24:48: Fehler: expected unqualified-id before »{« token
   24 |         enum class KeyboardFeatures : uint16_t {
      |                                                ^
src/helpers/help.h:59:16: Fehler: »KeyboardFeatures« bezeichnet keinen Typ
   59 |         inline KeyboardFeatures operator|(KeyboardFeatures a, KeyboardFeatures b);
      |                ^~~~~~~~~~~~~~~~
src/helpers/help.h:61:9: Fehler: »KeyboardFeatures« bezeichnet keinen Typ
   61 |         KeyboardFeatures getKeyboardFeatures(std::string cmdName);
      |         ^~~~~~~~~~~~~~~~
In Datei, eingebunden von src/helpers/help.cpp:17:
src/helpers/help.h:24:14: Warnung: ausführliche Typ-Spezifikation für einen enum mit Gültigkeitsbereich darf nicht das Schlüsselwort »class« verwenden
   24 |         enum class KeyboardFeatures : uint16_t {
      |         ~~~~ ^~~~~
      |              -----
src/helpers/help.h:24:37: Fehler: »:« in Spezifikation mit geschachteltem Namen gefunden, »::« erwartet
   24 |         enum class KeyboardFeatures : uint16_t {
      |                                     ^
      |                                     ::
src/helpers/help.h:24:20: Fehler: »KeyboardFeatures« wurde nicht deklariert
   24 |         enum class KeyboardFeatures : uint16_t {
      |                    ^~~~~~~~~~~~~~~~
src/helpers/help.h:24:48: Fehler: expected unqualified-id before »{« token
   24 |         enum class KeyboardFeatures : uint16_t {
      |                                                ^
src/helpers/help.h:59:16: Fehler: »KeyboardFeatures« bezeichnet keinen Typ
   59 |         inline KeyboardFeatures operator|(KeyboardFeatures a, KeyboardFeatures b);
      |                ^~~~~~~~~~~~~~~~
src/helpers/help.h:61:9: Fehler: »KeyboardFeatures« bezeichnet keinen Typ
   61 |         KeyboardFeatures getKeyboardFeatures(std::string cmdName);
      |         ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:27:16: Fehler: »KeyboardFeatures« bezeichnet keinen Typ
   27 |         inline KeyboardFeatures operator|(KeyboardFeatures a, KeyboardFeatures b) {
      |                ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:31:9: Fehler: »KeyboardFeatures« bezeichnet keinen Typ
   31 |         KeyboardFeatures getKeyboardFeatures(string cmdName) {
      |         ^~~~~~~~~~~~~~~~
src/helpers/help.cpp: In Funktion »void help::usage(char*)«:
src/helpers/help.cpp:48:17: Fehler: »KeyboardFeatures« wurde in diesem Gültigkeitsbereich nicht definiert
   48 |                 KeyboardFeatures features = getKeyboardFeatures(cmdName);
      |                 ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:55:21: Fehler: »features« wurde in diesem Gültigkeitsbereich nicht definiert
   55 |                 if((features | KeyboardFeatures::setall) == features)
      |                     ^~~~~~~~
src/helpers/help.cpp:55:32: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   55 |                 if((features | KeyboardFeatures::setall) == features)
      |                                ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:57:21: Fehler: »features« wurde in diesem Gültigkeitsbereich nicht definiert
   57 |                 if((features | KeyboardFeatures::setgroup) == features)
      |                     ^~~~~~~~
src/helpers/help.cpp:57:32: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   57 |                 if((features | KeyboardFeatures::setgroup) == features)
      |                                ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:59:21: Fehler: »features« wurde in diesem Gültigkeitsbereich nicht definiert
   59 |                 if((features | KeyboardFeatures::setkey) == features)
      |                     ^~~~~~~~
src/helpers/help.cpp:59:32: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   59 |                 if((features | KeyboardFeatures::setkey) == features)
      |                                ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:61:21: Fehler: »features« wurde in diesem Gültigkeitsbereich nicht definiert
   61 |                 if((features | KeyboardFeatures::setregion) == features)
      |                     ^~~~~~~~
src/helpers/help.cpp:61:32: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   61 |                 if((features | KeyboardFeatures::setregion) == features)
      |                                ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:63:21: Fehler: »features« wurde in diesem Gültigkeitsbereich nicht definiert
   63 |                 if((features | KeyboardFeatures::gkeys) == features) {
      |                     ^~~~~~~~
src/helpers/help.cpp:63:32: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   63 |                 if((features | KeyboardFeatures::gkeys) == features) {
      |                                ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:70:21: Fehler: »features« wurde in diesem Gültigkeitsbereich nicht definiert
   70 |                 if((features | KeyboardFeatures::commit) == features) {
      |                     ^~~~~~~~
src/helpers/help.cpp:70:32: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   70 |                 if((features | KeyboardFeatures::commit) == features) {
      |                                ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:71:40: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   71 |                         if((features | KeyboardFeatures::setall) == features)
      |                                        ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:73:40: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   73 |                         if((features | KeyboardFeatures::setgroup) == features)
      |                                        ^~~~~~~~~~~~~~~~
src/helpers/help.cpp:75:40: Fehler: »KeyboardFeatures« ist keine Klasse, Namensbereich oder Aufzählung
   75 |                         if((features | KeyboardFeatures::setkey) == features)
      |                                        ^~~~~~~~~~~~~~~~

and many more errors related to KeyboardFeatures