Compillation failed on Linux
HondaRulez opened this issue · 1 comments
Hi,
using GCC12.2, libwxbase3.2-1 and libwxgtk3.2-dev and their dependecies for compillation. (the old ones what is reffered in the "Linuxpackages" are not available in the new distros)
This error also happened on old Debian buster distro (GCC 8.3)
-- Building usbdm-interface-arm.x86_64-linux-gnu/BdmInterfaceCommon.o from src/BdmInterfaceCommon.cpp
g++ -fPIC -O3 -g3 -m64 -std=gnu++17 -Wall -shared -fvisibility=hidden -fvisibility-inlines-hidden -DCOMPILE_USBDM_INTERFACE_DLL -Isrc -I../Shared/src -MD -c src/BdmInterfaceCommon.cpp -o usbdm-interface-arm.x86_64-linux-gnu/BdmInterfaceCommon.o
In file included from ../Shared/src/BdmInterface.h:37,
from src/BdmInterfaceCommon.h:11,
from src/BdmInterfaceCommon.cpp:39:
../Shared/src/AppSettings.h: In member function ‘AppSettings& AppSettings::operator=(const AppSettings&)’:
../Shared/src/AppSettings.h:219:17: error: no match for ‘operator!=’ (operand types are ‘const AppSettings’ and ‘AppSettings’)
219 | if (other != *this) {
| ~~~~~ ^~ ~~~~~
| | |
| | AppSettings
| const AppSettings
make[2]: *** [Target.mk:95: usbdm-interface-arm.x86_64-linux-gnu/BdmInterfaceCommon.o] Error 1
make[2]: Leaving directory '/opt/src/usbdm-eclipse-makefiles-build/BdmInterface_DLL'
make[1]: *** [Makefile-x64.mk:12: usbdm-interface-arm] Error 2
make[1]: Leaving directory '/opt/src/usbdm-eclipse-makefiles-build/BdmInterface_DLL'
make: *** [Makefile-x64.mk:59: build-BdmInterface_DLL] Error 2
64-bit Make failed
This should now be fixed (305).
bye