You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I: Program is likely to break with new gcc. Try -fno-strict-aliasing.
W: nitrokey-app strict-aliasing-punning src/response.cpp:420, 422
If you cant fix the code for this warning just set the CFLAG mentioned in the error message for response.cpp.
The more detailed list:
--
src/ui/pindialog.h: In constructor 'PinDialog::PinDialog(const QString&, const QString&, Device*, PinDialog::Usage, PinDialog::PinType, bool, QWidget*)':
src/ui/pindialog.h:61:11: warning: 'PinDialog::_pinType' will be initialized after [-Wreorder]
--
^
src/ui/pindialog.cpp:35:27: warning: base 'QDialog' [-Wreorder]
--
^
src/ui/pindialog.cpp:32:1: warning: when initialized here [-Wreorder]
--
src/response.cpp: In member function 'int Response::getResponse(Device*)':
src/response.cpp:420:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
--
^
src/response.cpp:422:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
--
src/ui/stick20-response-task.cpp: In member function 'void Stick20ResponseTask::done(int)':
src/ui/stick20-response-task.cpp:299:68: warning: statement has no effect [-Wunused-value]
--
src/utils/stick20hid.c: In function 'DebugAppendTimestampToLog':
src/utils/stick20hid.c:226:10: warning: unused variable 'CrString' [-Wunused-variable]
--
src/utils/hid_libusb.c: In function 'hid_open_path':
src/utils/hid_libusb.c:876:13: warning: variable 'num_devs' set but not used [-Wunused-but-set-variable]
--
The text was updated successfully, but these errors were encountered:
If you cant fix the code for this warning just set the CFLAG mentioned in the error message for response.cpp.
The more detailed list:
The text was updated successfully, but these errors were encountered: