Code:
Linking halscope
Compiling hal/user_comps/xhc-whb04b-6/hal.cc
Compiling hal/user_comps/xhc-whb04b-6/usb.cc
In file included from hal/user_comps/xhc-whb04b-6/usb.cc:26:0:
/usr/include/libusb-1.0/libusb.h:736:4: Warnung: ISO-C++ verbietet Feld »dev_capability_data« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:767:4: Warnung: ISO-C++ verbietet Feld »dev_capability« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:1263:4: Warnung: ISO-C++ verbietet Feld »iso_packet_desc« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
Compiling hal/user_comps/xhc-whb04b-6/pendant-types.cc
Compiling hal/user_comps/xhc-whb04b-6/pendant.cc
hal/user_comps/xhc-whb04b-6/pendant.cc: In Elementfunktion »const XhcWhb04b6::HandWheelCounters& XhcWhb04b6::Handwheel::counters() const«:
hal/user_comps/xhc-whb04b-6/pendant.cc:802:5: Warnung: Funktion liefert Adresse einer lokalen Variablen zurück [-Wreturn-local-addr]
);
^
hal/user_comps/xhc-whb04b-6/pendant.cc:801:37: Anmerkung: hier deklariert
static_cast<Handwheel>(*this).counters()
^
Compiling hal/user_comps/xhc-whb04b-6/xhc-whb04b6.cc
In file included from hal/user_comps/xhc-whb04b-6/xhc-whb04b6.cc:26:0:
/usr/include/libusb-1.0/libusb.h:736:4: Warnung: ISO-C++ verbietet Feld »dev_capability_data« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:767:4: Warnung: ISO-C++ verbietet Feld »dev_capability« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
/usr/include/libusb-1.0/libusb.h:1263:4: Warnung: ISO-C++ verbietet Feld »iso_packet_desc« der Größe null [-Wpedantic]
[0] /* non-standard, but usually working code */
^
Compiling hal/user_comps/xhc-whb04b-6/main.cc
Linking xhc-whb04b-6