2025-05-09 12:29 ftp://ftp.de.debian.org/debian/pool/main/b/bossa/bossa_1.9.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=wxwidgets --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: d655a3a (2025-05-09 12:19:47 +0200) count: 235 234 elapsed-time: 3.5 3.6 head-timing-info: old-timing-info: head results: BOSSA-1.9.1/src/Samba.h:44:17: performance:inconclusive: Either there is a missing 'override', or the member function 'SambaError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Samba.h:75:23: style:inconclusive: Technically the member function 'Samba::getSerialPort' can be const. [functionConst] BOSSA-1.9.1/src/Samba.h:80:10: style:inconclusive: Technically the member function 'Samba::canChipErase' can be const. [functionConst] BOSSA-1.9.1/src/Samba.h:83:10: style:inconclusive: Technically the member function 'Samba::canWriteBuffer' can be const. [functionConst] BOSSA-1.9.1/src/Samba.h:85:14: performance:inconclusive: Technically the member function 'Samba::writeBufferSize' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Samba.h:87:10: style:inconclusive: Technically the member function 'Samba::canChecksumBuffer' can be const. [functionConst] BOSSA-1.9.1/src/Samba.h:89:14: performance:inconclusive: Technically the member function 'Samba::checksumBufferSize' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Applet.cpp:33:25: style: Parameter 'code' can be declared as pointer to const [constParameterPointer] BOSSA-1.9.1/src/PortFactory.h:65:0: error: #error "Platform is not supported" [preprocessorErrorDirective] BOSSA-1.9.1/src/PortFactory.h:65:2: error: #error "Platform is not supported" [preprocessorErrorDirective] BOSSA-1.9.1/src/BossaBitmaps.h:41:21: style:inconclusive: Technically the member function 'BossaBitmaps::getBossaLogo' can be const. [functionConst] BOSSA-1.9.1/src/BossaBitmaps.h:42:21: style:inconclusive: Technically the member function 'BossaBitmaps::getBossaIcon' can be const. [functionConst] BOSSA-1.9.1/src/BossaBitmaps.h:43:21: style:inconclusive: Technically the member function 'BossaBitmaps::getShumaTechLogo' can be const. [functionConst] BOSSA-1.9.1/src/BossaBitmaps.cpp:50:15: performance:inconclusive: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/BossaBitmaps.h:46:14: note: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/BossaBitmaps.cpp:50:15: note: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/BossaForm.cpp:61:173: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxFLP_USE_TEXTCTRL [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/BossaForm.h:73:3: style: Class 'MainFrame' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/BossaForm.h:94:3: style: Class 'ProgressDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/BossaForm.h:123:3: style: Class 'AboutDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/BossaForm.h:159:3: style: Class 'InfoDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/BossaProgress.cpp:63:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxEVT_PROGRESS_CANCEL [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/BossaProgress.h:39:5: style: Class 'BossaProgress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/BossaProgress.cpp:61:41: style: Parameter 'event' can be declared as reference to const. However it seems that 'OnCancel' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] BOSSA-1.9.1/src/BossaProgress.cpp:39:67: note: You might need to cast the function pointer here BOSSA-1.9.1/src/BossaProgress.cpp:61:41: note: Parameter 'event' can be declared as reference to const BOSSA-1.9.1/src/CmdOpts.cpp:97:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/CmdOpts.cpp:150:10: style:inconclusive: Technically the member function 'CmdOpts::find' can be const. [functionConst] BOSSA-1.9.1/src/CmdOpts.h:85:9: note: Technically the member function 'CmdOpts::find' can be const. BOSSA-1.9.1/src/CmdOpts.cpp:150:10: note: Technically the member function 'CmdOpts::find' can be const. BOSSA-1.9.1/src/Flash.h:95:5: warning: Member variable 'FlashOption < bool >::_value' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flash.h:44:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FlashPageError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Flash.h:51:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FlashRegionError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Flash.h:58:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FlashLockError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Flash.h:65:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FlashCmdError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Flash.h:72:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FlashTimeoutError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Flash.h:79:17: performance:inconclusive: Either there is a missing 'override', or the member function 'BootFlashError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Flash.h:87:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FlashEraseError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Flash.h:120:24: style:inconclusive: Technically the member function 'Flash::name' can be const. [functionConst] BOSSA-1.9.1/src/Flash.h:98:14: style:inconclusive: Technically the member function 'FlashOption < bool >::get' can be const. [functionConst] BOSSA-1.9.1/src/Flash.h:99:10: style:inconclusive: Technically the member function 'FlashOption < bool >::isDirty' can be const. [functionConst] BOSSA-1.9.1/src/Flash.h:98:14: style:inconclusive: Technically the member function 'FlashOption < std :: vector < bool > >::get' can be const. [functionConst] BOSSA-1.9.1/src/Flash.h:99:10: style:inconclusive: Technically the member function 'FlashOption < std :: vector < bool > >::isDirty' can be const. [functionConst] BOSSA-1.9.1/src/WordCopyApplet.h:39:14: style: The destructor '~WordCopyApplet' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Applet.h:46:14: note: Virtual destructor in base class BOSSA-1.9.1/src/WordCopyApplet.h:39:14: note: Destructor in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:39:14: style: The destructor '~D2xNvmFlash' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:118:14: note: Virtual destructor in base class BOSSA-1.9.1/src/D2xNvmFlash.h:39:14: note: Destructor in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:41:10: style: The function 'eraseAll' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:129:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:41:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:42:10: style: The function 'eraseAuto' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:130:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:42:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:44:23: style: The function 'getLockRegions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:132:31: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:44:23: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:46:10: style: The function 'getSecurity' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:135:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:46:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:48:10: style: The function 'getBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:138:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:48:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:49:10: style: The function 'canBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:140:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:49:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:51:10: style: The function 'getBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:142:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:51:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:52:10: style: The function 'canBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:144:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:52:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:54:10: style: The function 'getBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:146:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:54:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:55:10: style: The function 'canBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:148:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:55:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:57:10: style: The function 'writeOptions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:150:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:57:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:59:10: style: The function 'writePage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:152:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:59:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:60:10: style: The function 'readPage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:153:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:60:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.h:62:10: style: The function 'writeBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:155:18: note: Virtual function in base class BOSSA-1.9.1/src/D2xNvmFlash.h:62:10: note: Function in derived class BOSSA-1.9.1/src/D2xNvmFlash.cpp:299:47: style:inconclusive: Function 'readPage' argument 2 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] BOSSA-1.9.1/src/D2xNvmFlash.h:60:43: note: Function 'readPage' argument 2 names different: declaration 'data' definition 'buf'. BOSSA-1.9.1/src/D2xNvmFlash.cpp:299:47: note: Function 'readPage' argument 2 names different: declaration 'data' definition 'buf'. BOSSA-1.9.1/src/D5xNvmFlash.h:39:14: style: The destructor '~D5xNvmFlash' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:118:14: note: Virtual destructor in base class BOSSA-1.9.1/src/D5xNvmFlash.h:39:14: note: Destructor in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:41:10: style: The function 'eraseAll' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:129:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:41:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:42:10: style: The function 'eraseAuto' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:130:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:42:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:44:23: style: The function 'getLockRegions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:132:31: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:44:23: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:46:10: style: The function 'getSecurity' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:135:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:46:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:48:10: style: The function 'getBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:138:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:48:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:49:10: style: The function 'canBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:140:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:49:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:51:10: style: The function 'getBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:142:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:51:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:52:10: style: The function 'canBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:144:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:52:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:54:10: style: The function 'getBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:146:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:54:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:55:10: style: The function 'canBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:148:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:55:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:57:10: style: The function 'writeOptions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:150:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:57:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:59:10: style: The function 'writePage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:152:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:59:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:60:10: style: The function 'readPage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:153:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:60:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.h:62:10: style: The function 'writeBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:155:18: note: Virtual function in base class BOSSA-1.9.1/src/D5xNvmFlash.h:62:10: note: Function in derived class BOSSA-1.9.1/src/D5xNvmFlash.cpp:290:47: style:inconclusive: Function 'readPage' argument 2 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] BOSSA-1.9.1/src/D5xNvmFlash.h:60:43: note: Function 'readPage' argument 2 names different: declaration 'data' definition 'buf'. BOSSA-1.9.1/src/D5xNvmFlash.cpp:290:47: note: Function 'readPage' argument 2 names different: declaration 'data' definition 'buf'. BOSSA-1.9.1/src/Device.h:41:17: performance:inconclusive: Either there is a missing 'override', or the member function 'DeviceUnsupportedError::what' can be static. [functionStatic] BOSSA-1.9.1/src/Device.h:87:12: style:inconclusive: Technically the member function 'Device::getFamily' can be const. [functionConst] BOSSA-1.9.1/src/Device.h:91:15: style:inconclusive: Technically the member function 'Device::getFlash' can be const. [functionConst] BOSSA-1.9.1/src/Device.h:82:5: style: Class 'Device' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/EfcFlash.h:50:14: style: The destructor '~EfcFlash' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:118:14: note: Virtual destructor in base class BOSSA-1.9.1/src/EfcFlash.h:50:14: note: Destructor in derived class BOSSA-1.9.1/src/EfcFlash.h:52:10: style: The function 'eraseAll' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:129:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:52:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:53:10: style: The function 'eraseAuto' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:130:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:53:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:55:23: style: The function 'getLockRegions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:132:31: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:55:23: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:57:10: style: The function 'getSecurity' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:135:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:57:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:59:10: style: The function 'getBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:138:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:59:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:60:10: style: The function 'canBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:140:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:60:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:62:10: style: The function 'getBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:142:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:62:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:63:10: style: The function 'canBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:144:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:63:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:65:10: style: The function 'getBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:146:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:65:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:66:10: style: The function 'canBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:148:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:66:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:68:10: style: The function 'writeOptions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:150:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:68:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:70:10: style: The function 'writePage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:152:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:70:10: note: Function in derived class BOSSA-1.9.1/src/EfcFlash.h:71:10: style: The function 'readPage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:153:18: note: Virtual function in base class BOSSA-1.9.1/src/EfcFlash.h:71:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:51:14: style: The destructor '~EefcFlash' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:118:14: note: Virtual destructor in base class BOSSA-1.9.1/src/EefcFlash.h:51:14: note: Destructor in derived class BOSSA-1.9.1/src/EefcFlash.h:53:10: style: The function 'eraseAll' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:129:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:53:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:54:10: style: The function 'eraseAuto' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:130:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:54:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:56:23: style: The function 'getLockRegions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:132:31: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:56:23: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:58:10: style: The function 'getSecurity' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:135:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:58:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:60:10: style: The function 'getBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:138:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:60:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:61:10: style: The function 'canBod' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:140:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:61:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:63:10: style: The function 'getBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:142:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:63:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:64:10: style: The function 'canBor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:144:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:64:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:66:10: style: The function 'getBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:146:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:66:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:67:10: style: The function 'canBootFlash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:148:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:67:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:69:10: style: The function 'writeOptions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:150:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:69:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:71:10: style: The function 'writePage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:152:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:71:10: note: Function in derived class BOSSA-1.9.1/src/EefcFlash.h:72:10: style: The function 'readPage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/Flash.h:153:18: note: Virtual function in base class BOSSA-1.9.1/src/EefcFlash.h:72:10: note: Function in derived class BOSSA-1.9.1/src/Device.cpp:53:14: style: The scope of the variable 'cpuId' can be reduced. [variableScope] BOSSA-1.9.1/src/Device.cpp:687:28: style: Variable 'expected' can be declared as reference to const [constVariableReference] BOSSA-1.9.1/src/EefcFlash.cpp:335:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] BOSSA-1.9.1/src/EefcFlash.cpp:314:14: style: The scope of the variable 'fsr0' can be reduced. [variableScope] BOSSA-1.9.1/src/EefcFlash.cpp:161:41: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 156. [shiftTooManyBitsSigned] BOSSA-1.9.1/src/EefcFlash.cpp:156:24: note: Assuming that condition 'bit>=32' is not redundant BOSSA-1.9.1/src/EefcFlash.cpp:161:41: note: Shift BOSSA-1.9.1/src/EefcFlash.cpp:174:41: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 169. [shiftTooManyBitsSigned] BOSSA-1.9.1/src/EefcFlash.cpp:169:24: note: Assuming that condition 'bit>=32' is not redundant BOSSA-1.9.1/src/EefcFlash.cpp:174:41: note: Shift BOSSA-1.9.1/src/EfcFlash.cpp:267:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] BOSSA-1.9.1/src/EfcFlash.cpp:246:14: style: The scope of the variable 'fsr0' can be reduced. [variableScope] BOSSA-1.9.1/src/Flash.cpp:96:49: style:inconclusive: Function 'loadBuffer' argument 2 names different: declaration 'size' definition 'bufferSize'. [funcArgNamesDifferent] BOSSA-1.9.1/src/Flash.h:156:59: note: Function 'loadBuffer' argument 2 names different: declaration 'size' definition 'bufferSize'. BOSSA-1.9.1/src/Flash.cpp:96:49: note: Function 'loadBuffer' argument 2 names different: declaration 'size' definition 'bufferSize'. BOSSA-1.9.1/src/Flasher.cpp:96:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Flasher.cpp:188:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Flasher.cpp:290:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Flasher.cpp:345:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::chipId' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::extChipId' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::address' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::numPages' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::pageSize' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::totalSize' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::numPlanes' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::security' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::bootFlash' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::bod' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::bor' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::canBootFlash' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::canBod' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::canBor' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::canChipErase' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::canWriteBuffer' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/Flasher.h:61:5: warning: Member variable 'FlasherInfo::canChecksumBuffer' is not initialized in the constructor. [uninitMemberVar] BOSSA-1.9.1/src/FileError.h:81:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FileShortError::what' can be static. [functionStatic] BOSSA-1.9.1/src/FileError.h:91:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FileSizeError::what' can be static. [functionStatic] BOSSA-1.9.1/src/FileError.h:49:5: style: Class 'FileOpenError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/FileError.h:65:5: style: Class 'FileIoError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BOSSA-1.9.1/src/Flasher.cpp:48:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] BOSSA-1.9.1/src/Flasher.cpp:49:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] BOSSA-1.9.1/src/Flasher.cpp:50:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] BOSSA-1.9.1/src/Flasher.cpp:51:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] BOSSA-1.9.1/src/Flasher.cpp:52:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] BOSSA-1.9.1/src/Flasher.cpp:59:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] BOSSA-1.9.1/src/Flasher.cpp:86:14: style: The scope of the variable 'pageNum' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:88:10: style: The scope of the variable 'fsize' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:89:12: style: The scope of the variable 'fbytes' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:167:13: style: The scope of the variable 'bufferA' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:168:13: style: The scope of the variable 'bufferB' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:169:14: style: The scope of the variable 'pageNum' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:172:14: style: The scope of the variable 'byteErrors' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:174:14: style: The scope of the variable 'flashCrc' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:175:10: style: The scope of the variable 'fsize' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:176:12: style: The scope of the variable 'fbytes' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:270:13: style: The scope of the variable 'buffer' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:271:14: style: The scope of the variable 'pageNum' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:274:12: style: The scope of the variable 'fbytes' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:333:18: style: The scope of the variable 'region' can be reduced. [variableScope] BOSSA-1.9.1/src/Flasher.cpp:321:23: style: Parameter 'regionArg' can be declared as reference to const [constParameterReference] BOSSA-1.9.1/src/PosixSerialPort.cpp:71:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/PosixSerialPort.cpp:312:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCM_DTR [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/PosixSerialPort.cpp:323:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCM_RTS [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/PosixSerialPort.cpp:296:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] BOSSA-1.9.1/src/PosixSerialPort.h:38:14: style: The destructor '~PosixSerialPort' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:40:14: note: Virtual destructor in base class BOSSA-1.9.1/src/PosixSerialPort.h:38:14: note: Destructor in derived class BOSSA-1.9.1/src/PosixSerialPort.h:40:10: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:56:18: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:40:10: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:44:10: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:60:18: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:44:10: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:46:10: style: The function 'isUsb' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:62:18: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:46:10: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:48:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:64:17: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:48:9: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:49:9: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:65:17: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:49:9: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:50:9: style: The function 'get' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:66:17: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:50:9: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:51:9: style: The function 'put' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:67:17: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:51:9: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:53:10: style: The function 'timeout' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:69:18: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:53:10: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:54:10: style: The function 'flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:70:18: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:54:10: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:55:10: style: The function 'setDTR' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:71:18: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:55:10: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.h:56:10: style: The function 'setRTS' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:72:18: note: Virtual function in base class BOSSA-1.9.1/src/PosixSerialPort.h:56:10: note: Function in derived class BOSSA-1.9.1/src/PosixSerialPort.cpp:244:37: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/PosixSerialPort.cpp:219:9: style: The scope of the variable 'retval' can be reduced. [variableScope] BOSSA-1.9.1/src/PosixSerialPort.cpp:214:32: style:inconclusive: Function 'read' argument 1 names different: declaration 'data' definition 'buffer'. [funcArgNamesDifferent] BOSSA-1.9.1/src/PosixSerialPort.h:48:23: note: Function 'read' argument 1 names different: declaration 'data' definition 'buffer'. BOSSA-1.9.1/src/PosixSerialPort.cpp:214:32: note: Function 'read' argument 1 names different: declaration 'data' definition 'buffer'. BOSSA-1.9.1/src/PosixSerialPort.cpp:214:44: style:inconclusive: Function 'read' argument 2 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] BOSSA-1.9.1/src/PosixSerialPort.h:48:33: note: Function 'read' argument 2 names different: declaration 'size' definition 'len'. BOSSA-1.9.1/src/PosixSerialPort.cpp:214:44: note: Function 'read' argument 2 names different: declaration 'size' definition 'len'. BOSSA-1.9.1/src/PosixSerialPort.cpp:255:39: style:inconclusive: Function 'write' argument 1 names different: declaration 'data' definition 'buffer'. [funcArgNamesDifferent] BOSSA-1.9.1/src/PosixSerialPort.h:49:30: note: Function 'write' argument 1 names different: declaration 'data' definition 'buffer'. BOSSA-1.9.1/src/PosixSerialPort.cpp:255:39: note: Function 'write' argument 1 names different: declaration 'data' definition 'buffer'. BOSSA-1.9.1/src/PosixSerialPort.cpp:255:51: style:inconclusive: Function 'write' argument 2 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] BOSSA-1.9.1/src/PosixSerialPort.h:49:40: note: Function 'write' argument 2 names different: declaration 'size' definition 'len'. BOSSA-1.9.1/src/PosixSerialPort.cpp:255:51: note: Function 'write' argument 2 names different: declaration 'size' definition 'len'. BOSSA-1.9.1/src/Samba.cpp:115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:188:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:219:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:231:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:263:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:467:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:509:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:538:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:580:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:594:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:616:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:650:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/Samba.cpp:179:11: warning: Return value of function _port.release() is not used. [ignoredReturnValue] BOSSA-1.9.1/src/Samba.cpp:333:8: performance:inconclusive: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Samba.h:90:14: note: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.cpp:333:8: note: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.cpp:304:8: performance:inconclusive: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Samba.h:103:14: note: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.cpp:304:8: note: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.cpp:190:14: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:210:14: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:233:14: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:254:14: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:309:60: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:488:18: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:511:14: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:540:14: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:569:11: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:596:22: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:619:22: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:629:18: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:653:22: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:665:27: style: C-style pointer casting [cstyleCast] BOSSA-1.9.1/src/Samba.cpp:333:29: style:inconclusive: Function 'checksumCalc' argument 1 names different: declaration 'c' definition 'data'. [funcArgNamesDifferent] BOSSA-1.9.1/src/Samba.h:90:35: note: Function 'checksumCalc' argument 1 names different: declaration 'c' definition 'data'. BOSSA-1.9.1/src/Samba.cpp:333:29: note: Function 'checksumCalc' argument 1 names different: declaration 'c' definition 'data'. BOSSA-1.9.1/src/Samba.cpp:333:44: style:inconclusive: Function 'checksumCalc' argument 2 names different: declaration 'crc' definition 'crc16'. [funcArgNamesDifferent] BOSSA-1.9.1/src/Samba.h:90:47: note: Function 'checksumCalc' argument 2 names different: declaration 'crc' definition 'crc16'. BOSSA-1.9.1/src/Samba.cpp:333:44: note: Function 'checksumCalc' argument 2 names different: declaration 'crc' definition 'crc16'. BOSSA-1.9.1/src/Samba.cpp:109:23: style: Variable 'err' can be declared as reference to const [constVariableReference] BOSSA-1.9.1/src/WinSerialPort.cpp:77:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:150:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:160:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:182:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:204:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:237:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:258:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.cpp:267:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] BOSSA-1.9.1/src/WinSerialPort.h:41:14: style: The destructor '~WinSerialPort' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:40:14: note: Virtual destructor in base class BOSSA-1.9.1/src/WinSerialPort.h:41:14: note: Destructor in derived class BOSSA-1.9.1/src/WinSerialPort.h:43:10: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:56:18: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:43:10: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:47:10: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:60:18: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:47:10: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:49:10: style: The function 'isUsb' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:62:18: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:49:10: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:51:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:64:17: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:51:9: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:52:9: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:65:17: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:52:9: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:53:9: style: The function 'get' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:66:17: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:53:9: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:54:9: style: The function 'put' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:67:17: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:54:9: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:56:10: style: The function 'timeout' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:69:18: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:56:10: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:57:10: style: The function 'flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:70:18: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:57:10: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:58:10: style: The function 'setDTR' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:71:18: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:58:10: note: Function in derived class BOSSA-1.9.1/src/WinSerialPort.h:59:10: style: The function 'setRTS' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BOSSA-1.9.1/src/SerialPort.h:72:18: note: Virtual function in base class BOSSA-1.9.1/src/WinSerialPort.h:59:10: note: Function in derived class BOSSA-1.9.1/src/bossash.cpp:72:11: style: The scope of the variable 'str' can be reduced. [variableScope] BOSSA-1.9.1/src/bossash.cpp:74:9: style: The scope of the variable 'tokc' can be reduced. [variableScope] BOSSA-1.9.1/src/bossash.cpp:76:9: style: The scope of the variable 'result' can be reduced. [variableScope] diff: head BOSSA-1.9.1/src/BossaBitmaps.cpp:50:15: performance:inconclusive: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/BossaBitmaps.h:46:14: note: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/BossaBitmaps.cpp:50:15: note: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). 2.17.0 BOSSA-1.9.1/src/BossaBitmaps.h:46:14: performance:inconclusive: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/BossaBitmaps.cpp:50:15: note: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/BossaBitmaps.h:46:14: note: Technically the member function 'BossaBitmaps::GetBitmapFromMemory' can be static (but you may consider moving to unnamed namespace). head BOSSA-1.9.1/src/CmdOpts.cpp:150:10: style:inconclusive: Technically the member function 'CmdOpts::find' can be const. [functionConst] BOSSA-1.9.1/src/CmdOpts.h:85:9: note: Technically the member function 'CmdOpts::find' can be const. BOSSA-1.9.1/src/CmdOpts.cpp:150:10: note: Technically the member function 'CmdOpts::find' can be const. 2.17.0 BOSSA-1.9.1/src/CmdOpts.h:85:9: style:inconclusive: Technically the member function 'CmdOpts::find' can be const. [functionConst] BOSSA-1.9.1/src/CmdOpts.cpp:150:10: note: Technically the member function 'CmdOpts::find' can be const. BOSSA-1.9.1/src/CmdOpts.h:85:9: note: Technically the member function 'CmdOpts::find' can be const. head BOSSA-1.9.1/src/PortFactory.h:65:2: error: #error "Platform is not supported" [preprocessorErrorDirective] head BOSSA-1.9.1/src/Samba.cpp:304:8: performance:inconclusive: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Samba.h:103:14: note: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.cpp:304:8: note: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). head BOSSA-1.9.1/src/Samba.cpp:333:8: performance:inconclusive: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Samba.h:90:14: note: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.cpp:333:8: note: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). 2.17.0 BOSSA-1.9.1/src/Samba.h:103:14: performance:inconclusive: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Samba.cpp:304:8: note: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.h:103:14: note: Technically the member function 'Samba::crc16Calc' can be static (but you may consider moving to unnamed namespace). 2.17.0 BOSSA-1.9.1/src/Samba.h:90:14: performance:inconclusive: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). [functionStatic] BOSSA-1.9.1/src/Samba.cpp:333:8: note: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). BOSSA-1.9.1/src/Samba.h:90:14: note: Technically the member function 'Samba::checksumCalc' can be static (but you may consider moving to unnamed namespace). DONE