2025-07-01 11:29 ftp://ftp.de.debian.org/debian/pool/main/v/virtualjaguar/virtualjaguar_2.1.3+final.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=zlib --library=qt --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 -j2 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: dfa16af (2025-06-30 19:43:56 +0200) count: 279 263 elapsed-time: 28.6 28.0 head-timing-info: old-timing-info: head results: linux-2.1.3/src/cdintf.cpp:377:49: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] linux-2.1.3/src/crc32.cpp:55:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] linux-2.1.3/src/dac.cpp:104:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_S16SYS [valueFlowBailoutIncompleteVar] linux-2.1.3/src/dac.cpp:191:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/dac.cpp:192:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/dac.cpp:230:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/dac.cpp:231:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/dsp.cpp:558:10: warning: Either the condition 'offset<=0x00F1B000+0x1FFF' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8192, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:553:44: note: Assuming that condition 'offset<=0x00F1B000+0x1FFF' is not redundant linux-2.1.3/src/dsp.cpp:555:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:558:10: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:589:10: warning: Either the condition 'offset<=0x00F1B000+0x1FFF' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8192, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:586:44: note: Assuming that condition 'offset<=0x00F1B000+0x1FFF' is not redundant linux-2.1.3/src/dsp.cpp:588:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:589:10: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:589:10: warning: Either the condition 'offset<=0x00F1B000+0x1FFF' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8193, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:586:44: note: Assuming that condition 'offset<=0x00F1B000+0x1FFF' is not redundant linux-2.1.3/src/dsp.cpp:588:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:589:10: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:589:10: warning: Either the condition 'offset<=0x00F1B000+0x1FFF' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8194, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:586:44: note: Assuming that condition 'offset<=0x00F1B000+0x1FFF' is not redundant linux-2.1.3/src/dsp.cpp:588:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:589:10: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:678:12: warning: Either the condition 'offset<0x00F1B000+0x2000' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8192, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:670:47: note: Assuming that condition 'offset<0x00F1B000+0x2000' is not redundant linux-2.1.3/src/dsp.cpp:676:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:678:12: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:744:3: warning: Either the condition 'offset<=0x00F1B000+0x1FFF' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8192, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:737:44: note: Assuming that condition 'offset<=0x00F1B000+0x1FFF' is not redundant linux-2.1.3/src/dsp.cpp:743:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:744:3: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:744:3: warning: Either the condition 'offset<=0x00F1B000+0x1FFF' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8193, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:737:44: note: Assuming that condition 'offset<=0x00F1B000+0x1FFF' is not redundant linux-2.1.3/src/dsp.cpp:743:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:744:3: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:744:3: warning: Either the condition 'offset<=0x00F1B000+0x1FFF' is redundant or the array 'dsp_ram_8[8192]' is accessed at index 8194, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/dsp.cpp:737:44: note: Assuming that condition 'offset<=0x00F1B000+0x1FFF' is not redundant linux-2.1.3/src/dsp.cpp:743:3: note: Compound assignment '-=', assigned value is 8191 linux-2.1.3/src/dsp.cpp:744:3: note: Array index out of bounds linux-2.1.3/src/dsp.cpp:1272:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/dsp.cpp:3970:10: style: Variable 'dsp_pc' is reassigned a value before the old one has been used. [redundantAssignment] linux-2.1.3/src/dsp.cpp:3963:9: note: dsp_pc is assigned linux-2.1.3/src/dsp.cpp:3970:10: note: dsp_pc is overwritten linux-2.1.3/src/dsp.cpp:4076:10: style: Variable 'dsp_pc' is reassigned a value before the old one has been used. [redundantAssignment] linux-2.1.3/src/dsp.cpp:4069:9: note: dsp_pc is assigned linux-2.1.3/src/dsp.cpp:4076:10: note: dsp_pc is overwritten linux-2.1.3/src/dsp.cpp:2507:11: style: The scope of the variable 'res' can be reduced. [variableScope] linux-2.1.3/src/dsp.cpp:1913:17: style: Variable 'sqtable' can be declared as const array [constVariable] linux-2.1.3/src/dsp.cpp:3773:17: style: Variable 'sqtable' can be declared as const array [constVariable] linux-2.1.3/src/dsp.cpp:2493:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/dsp.cpp:4257:13: style: Variable 'res' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/eeprom.cpp:275:36: style:inconclusive: Function 'eeprom_set_di' argument 1 names different: declaration 'state' definition 'data'. [funcArgNamesDifferent] linux-2.1.3/src/eeprom.cpp:35:36: note: Function 'eeprom_set_di' argument 1 names different: declaration 'state' definition 'data'. linux-2.1.3/src/eeprom.cpp:275:36: note: Function 'eeprom_set_di' argument 1 names different: declaration 'state' definition 'data'. linux-2.1.3/src/eeprom.cpp:502:35: style:inconclusive: Function 'ButchEESetDI' argument 1 names different: declaration 'state' definition 'data'. [funcArgNamesDifferent] linux-2.1.3/src/eeprom.cpp:38:35: note: Function 'ButchEESetDI' argument 1 names different: declaration 'state' definition 'data'. linux-2.1.3/src/eeprom.cpp:502:35: note: Function 'ButchEESetDI' argument 1 names different: declaration 'state' definition 'data'. linux-2.1.3/src/eeprom.cpp:186:48: style: Parameter 'ram' can be declared as pointer to const [constParameterPointer] linux-2.1.3/src/eeprom.cpp:179:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/eeprom.cpp:179:9: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/file.cpp:98:3: warning: Return value of function gzseek() is not used. [ignoredReturnValue] linux-2.1.3/src/file.cpp:99:3: warning: Return value of function gzread() is not used. [ignoredReturnValue] linux-2.1.3/src/file.cpp:338:37: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/file.cpp:307:8: style: The scope of the variable 'size' can be reduced. [variableScope] linux-2.1.3/src/file.cpp:512:34: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] linux-2.1.3/src/file.cpp:553:35: style: Parameter 'rom' can be declared as pointer to const [constParameterPointer] linux-2.1.3/src/file.cpp:307:13: style: Variable 'size' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/gpu.cpp:474:75: warning: Either the condition 'offset<0x00F03000+0x1000' is redundant or the array 'gpu_ram_8[4096]' is accessed at index 4096, which is out of bounds. [arrayIndexOutOfBoundsCond] linux-2.1.3/src/gpu.cpp:471:47: note: Assuming that condition 'offset<0x00F03000+0x1000' is not redundant linux-2.1.3/src/gpu.cpp:473:3: note: Compound assignment '&=', assigned value is 4095 linux-2.1.3/src/gpu.cpp:474:75: note: Array index out of bounds linux-2.1.3/src/gpu.cpp:408:28: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/gpu.cpp:1051:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/gpu.cpp:1654:17: style: Variable 'sqtable' can be declared as const array [constVariable] linux-2.1.3/src/gpu.cpp:2593:44: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] linux-2.1.3/src/gpu.cpp:825:13: style: Variable 'finished' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/gpu.cpp:2061:19: style: Variable 'mask' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/gui/about.cpp:37:3: error: There is an unknown macro here somewhere. Configuration is required. If VJ_RELEASE_VERSION is a macro then please configure it. [unknownMacro] linux-2.1.3/src/gui/alpinetab.h:11:3: style: Class 'AlpineTab' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/app.cpp:168:23: error: There is an unknown macro here somewhere. Configuration is required. If VJ_RELEASE_VERSION is a macro then please configure it. [unknownMacro] linux-2.1.3/src/gui/configdialog.cpp:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hardwareTypeAlpine [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/configdialog.cpp:72:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEPROMPath [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/configdialog.cpp:111:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable useJaguarBIOS [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/configdialog.h:22:3: style: Class 'ConfigDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/controllertab.h:14:3: style: Class 'ControllerTab' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/controllerwidget.h:12:3: style: Class 'ControllerWidget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/generaltab.h:11:3: style: Class 'GeneralTab' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/controllertab.cpp:68:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignRight [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllertab.cpp:150:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUTTON_FIRST [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllertab.cpp:197:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUTTON_FIRST [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllertab.cpp:217:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllertab.cpp:250:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable No [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/keygrabber.h:18:3: style: Class 'KeyGrabber' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/controllertab.cpp:147:6: style: Variable 'orderToDefine' can be declared as const array [constVariable] linux-2.1.3/src/gui/controllerwidget.cpp:86:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Fixed [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllerwidget.cpp:93:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Antialiasing [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllerwidget.cpp:219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllerwidget.cpp:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUTTON_FIRST [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllerwidget.cpp:280:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/controllerwidget.cpp:60:19: warning: Member variable 'ControllerWidget::keys' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/debug/cpubrowser.cpp:34:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextSelectableByMouse [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/cpubrowser.cpp:119:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/cpubrowser.cpp:256:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpmActive [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/cpubrowser.cpp:265:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpmAddress1 [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/cpubrowser.cpp:277:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/cpubrowser.h:19:3: style: Class 'CPUBrowserWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/debug/m68kdasmbrowser.cpp:35:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextSelectableByMouse [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/m68kdasmbrowser.cpp:102:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/m68kdasmbrowser.h:19:3: style: Class 'M68KDasmBrowserWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/debug/m68kdasmbrowser.cpp:68:20: style: The scope of the variable 'oldpc' can be reduced. [variableScope] linux-2.1.3/src/gui/debug/memorybrowser.cpp:32:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextSelectableByMouse [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/memorybrowser.cpp:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jaguarMainRAM [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/memorybrowser.cpp:101:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/memorybrowser.h:19:3: style: Class 'MemoryBrowserWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/debug/opbrowser.cpp:30:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextSelectableByMouse [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/opbrowser.cpp:72:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/opbrowser.cpp:106:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/opbrowser.cpp:144:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/opbrowser.cpp:234:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPFLAG_REFLECT [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/opbrowser.h:19:3: style: Class 'OPBrowserWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/debug/opbrowser.cpp:231:2: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed short'. [invalidPrintfArgType_uint] linux-2.1.3/src/gui/debug/opbrowser.cpp:213:10: style: Variable 'op_bitmap_bit_depth' can be declared as const array [constVariable] linux-2.1.3/src/gui/debug/opbrowser.cpp:215:11: style: Variable 'bdMultiplier' can be declared as const array [constVariable] linux-2.1.3/src/gui/debug/opbrowser.cpp:224:16: style: Variable 'link' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/gui/debug/opbrowser.cpp:224:11: style: Variable 'link' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/gui/debug/riscdasmbrowser.cpp:37:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextSelectableByMouse [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/riscdasmbrowser.cpp:75:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JAGUAR_GPU [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/riscdasmbrowser.cpp:102:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/debug/riscdasmbrowser.h:19:3: style: Class 'RISCDasmBrowserWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/debug/riscdasmbrowser.cpp:70:20: style: The scope of the variable 'oldpc' can be reduced. [variableScope] linux-2.1.3/src/gui/filelistmodel.cpp:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filelistmodel.cpp:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SizeHintRole [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filelistmodel.h:41:3: style: Class 'FileListModel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/filelistmodel.cpp:88:15: style: Local variable 'data' shadows outer function [shadowFunction] linux-2.1.3/src/gui/filelistmodel.h:44:12: note: Shadowed declaration linux-2.1.3/src/gui/filelistmodel.cpp:88:15: note: Shadow variable linux-2.1.3/src/gui/filelistmodel.cpp:104:15: style: Local variable 'data' shadows outer function [shadowFunction] linux-2.1.3/src/gui/filelistmodel.h:44:12: note: Shadowed declaration linux-2.1.3/src/gui/filelistmodel.cpp:104:15: note: Shadow variable linux-2.1.3/src/gui/filelistmodel.cpp:85:58: performance: Function parameter 'str' should be passed by const reference. [passedByValue] linux-2.1.3/src/gui/filelistmodel.cpp:101:58: performance: Function parameter 'str' should be passed by const reference. [passedByValue] linux-2.1.3/src/gui/filelistmodel.cpp:97:17: error: Uninitialized variables: data.hasUniversalHeader, data.fileType, data.crc [uninitvar] linux-2.1.3/src/gui/filelistmodel.cpp:97:17: error: Uninitialized struct member: data.hasUniversalHeader [uninitStructMember] linux-2.1.3/src/gui/filelistmodel.cpp:97:17: error: Uninitialized struct member: data.fileType [uninitStructMember] linux-2.1.3/src/gui/filelistmodel.cpp:97:17: error: Uninitialized struct member: data.crc [uninitStructMember] linux-2.1.3/src/gui/filepicker.cpp:140:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filepicker.cpp:208:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filepicker.cpp:240:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable romList [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filepicker.cpp:249:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable romList [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filepicker.cpp:297:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filepicker.cpp:222:27: style:inconclusive: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. [functionConst] linux-2.1.3/src/gui/filepicker.h:20:11: note: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. linux-2.1.3/src/gui/filepicker.cpp:222:27: note: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. linux-2.1.3/src/gui/filepicker.h:19:3: style: Class 'FilePickerWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/filethread.h:17:3: style: Class 'FileThread' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/filepicker.h:20:11: performance: Function 'GetSelectedPrettyName()' should return member 'prettyFilename' by const reference. [returnByReference] linux-2.1.3/src/gui/filepicker.cpp:246:68: performance: Function parameter 'str' should be passed by const reference. [passedByValue] linux-2.1.3/src/gui/filepicker.cpp:261:68: performance: Function parameter 'str' should be passed by const reference. [passedByValue] linux-2.1.3/src/gui/filethread.cpp:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROMPath [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filethread.cpp:98:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filethread.cpp:195:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable romList [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/filethread.cpp:28:13: warning: Member variable 'FileThread::allowUnknownSoftware' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/filethread.cpp:176:13: error: Memory pointed to by 'buffer' is freed twice. [doubleFree] linux-2.1.3/src/gui/filethread.cpp:144:2: note: Memory pointed to by 'buffer' is freed twice. linux-2.1.3/src/gui/filethread.cpp:176:13: note: Memory pointed to by 'buffer' is freed twice. linux-2.1.3/src/gui/filethread.cpp:126:13: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/gui/filethread.cpp:172:20: style: Variable 'successful' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/gui/filethread.cpp:172:9: style: Variable 'successful' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/gui/gamepad.cpp:177:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] linux-2.1.3/src/gui/gamepad.cpp:236:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] linux-2.1.3/src/gui/gamepad.cpp:246:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] linux-2.1.3/src/gui/gamepad.cpp:257:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] linux-2.1.3/src/gui/gamepad.cpp:264:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] linux-2.1.3/src/gui/gamepad.cpp:120:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] linux-2.1.3/src/gui/gamepad.cpp:107:10: style: Variable 'hatMask' can be declared as const array [constVariable] linux-2.1.3/src/gui/gamepad.cpp:154:6: style: Variable 'hatNum' can be declared as const array [constVariable] linux-2.1.3/src/gui/generaltab.cpp:17:13: warning: Member variable 'GeneralTab::edit1' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/generaltab.cpp:17:13: warning: Member variable 'GeneralTab::edit2' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/glwidget.cpp:49:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/glwidget.cpp:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/glwidget.cpp:106:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hardwareTypeNTSC [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/glwidget.cpp:125:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/glwidget.cpp:144:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BlankCursor [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/glwidget.cpp:155:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ArrowCursor [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/glwidget.cpp:27:11: warning: Member variable 'GLWidget::synchronize' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/glwidget.cpp:27:11: warning: Member variable 'GLWidget::filter' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/glwidget.cpp:27:11: warning: Member variable 'GLWidget::fullscreen' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/glwidget.cpp:27:11: warning: Member variable 'GLWidget::outputWidth' is not initialized in the constructor. [uninitMemberVar] linux-2.1.3/src/gui/glwidget.h:17:3: style: Class 'GLWidget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/help.cpp:39:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/help.h:16:3: style: Class 'HelpWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linux-2.1.3/src/gui/imagedelegate.cpp:32:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SmoothTransformation [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/imagedelegate.cpp:41:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable State_Selected [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/keygrabber.cpp:38:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StrongFocus [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/keygrabber.cpp:65:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Alt [valueFlowBailoutIncompleteVar] linux-2.1.3/src/gui/mainwin.cpp:850:45: error: There is an unknown macro here somewhere. Configuration is required. If VJ_RELEASE_VERSION is a macro then please configure it. [unknownMacro] linux-2.1.3/src/gui/profile.cpp:333:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p1KeyBindings [valueFlowBailoutIncompleteVar] linux-2.1.3/src/jagdasm.cpp:82:39: style:inconclusive: Function 'dasmjag' argument 2 names different: declaration 'buffer' definition 'bufferOut'. [funcArgNamesDifferent] linux-2.1.3/src/jagdasm.h:7:39: note: Function 'dasmjag' argument 2 names different: declaration 'buffer' definition 'bufferOut'. linux-2.1.3/src/jagdasm.cpp:82:39: note: Function 'dasmjag' argument 2 names different: declaration 'buffer' definition 'bufferOut'. linux-2.1.3/src/blitter.cpp:3725:48: warning: Logical conjunction always evaluates to false: istepfadd && !(datinit). [incorrectLogicOperator] linux-2.1.3/src/blitter.cpp:2872:34: note: 'datinit' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:37: note: 'istepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3725:48: note: Logical conjunction always evaluates to false: istepfadd && !(datinit). linux-2.1.3/src/blitter.cpp:3726:47: warning: Logical conjunction always evaluates to false: istepadd && !(datinit). [incorrectLogicOperator] linux-2.1.3/src/blitter.cpp:2872:34: note: 'datinit' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:18: note: 'istepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3726:47: note: Logical conjunction always evaluates to false: istepadd && !(datinit). linux-2.1.3/src/blitter.cpp:3727:49: warning: Logical conjunction always evaluates to false: zstepadd && !(datinit). [incorrectLogicOperator] linux-2.1.3/src/blitter.cpp:2872:34: note: 'datinit' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3727:49: note: Logical conjunction always evaluates to false: zstepadd && !(datinit). linux-2.1.3/src/blitter.cpp:3973:26: style: Redundant condition: phrase_mode. '!phrase_mode || (phrase_mode && inct&0x01)' is equivalent to '!phrase_mode || inct&0x01' [redundantCondition] linux-2.1.3/src/blitter.cpp:3613:73: style: Same expression on both sides of '||' because 'zstepfadd' and 'istepadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:19: note: 'zstepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:18: note: 'istepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3613:73: note: Same expression on both sides of '||' because 'zstepfadd' and 'istepadd' represent the same value. linux-2.1.3/src/jaguar.cpp:475:49: error: No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] linux-2.1.3/src/blitter.cpp:3615:45: style: Same expression on both sides of '||' because 'zstepfadd' and 'zstepadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:19: note: 'zstepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3615:45: note: Same expression on both sides of '||' because 'zstepfadd' and 'zstepadd' represent the same value. linux-2.1.3/src/blitter.cpp:3646:14: style: Same expression on both sides of '||' because 'zstepadd' and 'istepadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:18: note: 'istepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3646:14: note: Same expression on both sides of '||' because 'zstepadd' and 'istepadd' represent the same value. linux-2.1.3/src/blitter.cpp:3647:45: style: Same expression on both sides of '||' because 'zstepfadd' and 'zstepadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:19: note: 'zstepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3647:45: note: Same expression on both sides of '||' because 'zstepfadd' and 'zstepadd' represent the same value. linux-2.1.3/src/jerry.cpp:624:19: style: Condition 'offset==0xF10021' is always true [knownConditionTrueFalse] linux-2.1.3/src/jerry.cpp:619:14: note: Assuming that condition 'offset==0xF10020' is not redundant linux-2.1.3/src/jerry.cpp:617:40: note: Assuming that condition 'offset<=0xF10021' is not redundant linux-2.1.3/src/jerry.cpp:624:19: note: Condition 'offset==0xF10021' is always true linux-2.1.3/src/blitter.cpp:3649:14: style: Same expression on both sides of '||' because 'istepfadd' and 'istepadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2873:37: note: 'istepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:18: note: 'istepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3649:14: note: Same expression on both sides of '||' because 'istepfadd' and 'istepadd' represent the same value. linux-2.1.3/src/blitter.cpp:3649:27: style: Same expression on both sides of '||' because 'zstepadd' and 'istepfadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:37: note: 'istepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3649:27: note: Same expression on both sides of '||' because 'zstepadd' and 'istepfadd' represent the same value. linux-2.1.3/src/blitter.cpp:3649:39: style: Same expression on both sides of '||' because 'zstepfadd' and 'zstepadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:19: note: 'zstepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3649:39: note: Same expression on both sides of '||' because 'zstepfadd' and 'zstepadd' represent the same value. linux-2.1.3/src/blitter.cpp:3650:23: style: Same expression on both sides of '&&' because 'istepadd' and 'istepfadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2873:18: note: 'istepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:37: note: 'istepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3650:23: note: Same expression on both sides of '&&' because 'istepadd' and 'istepfadd' represent the same value. linux-2.1.3/src/blitter.cpp:3650:36: style: Same expression on both sides of '&&' because 'zstepadd' and 'istepfadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:37: note: 'istepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3650:36: note: Same expression on both sides of '&&' because 'zstepadd' and 'istepfadd' represent the same value. linux-2.1.3/src/blitter.cpp:3650:48: style: Same expression on both sides of '&&' because 'zstepfadd' and 'zstepadd' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2874:19: note: 'zstepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3650:48: note: Same expression on both sides of '&&' because 'zstepfadd' and 'zstepadd' represent the same value. linux-2.1.3/src/joystick.cpp:83:10: style: Variable 'joypad0Offset' can be declared as const array [constVariable] linux-2.1.3/src/joystick.cpp:86:10: style: Variable 'joypad1Offset' can be declared as const array [constVariable] linux-2.1.3/src/joystick.cpp:107:13: style: Variable 'msk2' can be declared as const array [constVariable] linux-2.1.3/src/joystick.cpp:118:13: style: Variable 'msk2' can be declared as const array [constVariable] linux-2.1.3/src/blitter.cpp:3704:15: style: Same expression on both sides of '&&' because 'istepadd' and 'ext_int' represent the same value. [knownConditionTrueFalse] linux-2.1.3/src/blitter.cpp:2873:18: note: 'istepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2872:89: note: 'ext_int' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3704:15: note: Same expression on both sides of '&&' because 'istepadd' and 'ext_int' represent the same value. linux-2.1.3/src/m68000/sysdeps.h:31:0: error: #error "Your compiler is not ANSI. Get a real one." [preprocessorErrorDirective] linux-2.1.3/src/m68000/sysdeps.h:31:2: error: #error "Your compiler is not ANSI. Get a real one." [preprocessorErrorDirective] linux-2.1.3/src/blitter.cpp:3725:48: style: Opposite expression on both sides of '&&'. [oppositeExpression] linux-2.1.3/src/blitter.cpp:2872:34: note: 'datinit' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:37: note: 'istepfadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3725:48: note: Opposite expression on both sides of '&&'. linux-2.1.3/src/blitter.cpp:3726:47: style: Opposite expression on both sides of '&&'. [oppositeExpression] linux-2.1.3/src/blitter.cpp:2872:34: note: 'datinit' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2873:18: note: 'istepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3726:47: note: Opposite expression on both sides of '&&'. linux-2.1.3/src/blitter.cpp:3727:49: style: Opposite expression on both sides of '&&'. [oppositeExpression] linux-2.1.3/src/blitter.cpp:2872:34: note: 'datinit' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:2874:37: note: 'zstepadd' is assigned value 'false' here. linux-2.1.3/src/blitter.cpp:3727:49: note: Opposite expression on both sides of '&&'. linux-2.1.3/src/blitter.cpp:442:14: style: Variable 'srcdata' is reassigned a value before the old one has been used. [redundantAssignment] linux-2.1.3/src/blitter.cpp:434:12: note: srcdata is assigned linux-2.1.3/src/blitter.cpp:442:14: note: srcdata is overwritten linux-2.1.3/src/blitter.cpp:3052:9: style: Redundant initialization for 'a2addy'. The initialized value is overwritten before it is read. [redundantInitialization] linux-2.1.3/src/blitter.cpp:2902:57: note: a2addy is initialized linux-2.1.3/src/blitter.cpp:3052:9: note: a2addy is overwritten linux-2.1.3/src/blitter.cpp:4562:11: style: Variable 'indone' is reassigned a value before the old one has been used. [redundantAssignment] linux-2.1.3/src/blitter.cpp:3256:11: note: indone is assigned linux-2.1.3/src/blitter.cpp:4562:11: note: indone is overwritten linux-2.1.3/src/blitter.cpp:3273:6: style: The scope of the variable 'sshftld' can be reduced. [variableScope] linux-2.1.3/src/blitter.cpp:5018:11: style: The scope of the variable 'word' can be reduced. [variableScope] linux-2.1.3/src/blitter.cpp:1486:32: style: Local variable 'mode' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:319:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:1486:32: note: Shadow variable linux-2.1.3/src/blitter.cpp:1784:11: style: Local variable 'a1_width' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:336:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:1784:11: note: Shadow variable linux-2.1.3/src/blitter.cpp:1786:11: style: Local variable 'a2_width' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:339:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:1786:11: note: Shadow variable linux-2.1.3/src/blitter.cpp:2892:10: style: Local variable 'a1_pitch' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:330:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2892:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2893:10: style: Local variable 'a2_pitch' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:331:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2893:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2898:10: style: Local variable 'a1_width' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:336:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2898:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2899:10: style: Local variable 'a2_width' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:339:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2899:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2900:7: style: Local variable 'a2_mask' shadows outer variable [shadowVariable] linux-2.1.3/src/memory.h:41:4: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2900:7: note: Shadow variable linux-2.1.3/src/blitter.cpp:2905:11: style: Local variable 'a1_base' shadows outer variable [shadowVariable] linux-2.1.3/src/memory.h:39:19: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2905:11: note: Shadow variable linux-2.1.3/src/blitter.cpp:2906:11: style: Local variable 'a2_base' shadows outer variable [shadowVariable] linux-2.1.3/src/memory.h:40:50: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2906:11: note: Shadow variable linux-2.1.3/src/blitter.cpp:2910:10: style: Local variable 'a1_x' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:334:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2910:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2911:10: style: Local variable 'a1_y' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:335:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2911:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2912:10: style: Local variable 'a1_step_x' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:348:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2912:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2913:10: style: Local variable 'a1_step_y' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:349:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2913:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2923:10: style: Local variable 'a2_x' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:337:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2923:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2924:10: style: Local variable 'a2_y' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:338:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2924:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2925:11: style: Local variable 'a2_mask_x' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:340:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2925:11: note: Shadow variable linux-2.1.3/src/blitter.cpp:2926:11: style: Local variable 'a2_mask_y' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:341:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2926:11: note: Shadow variable linux-2.1.3/src/blitter.cpp:2927:10: style: Local variable 'a2_step_x' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:350:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2927:10: note: Shadow variable linux-2.1.3/src/blitter.cpp:2928:10: style: Local variable 'a2_step_y' shadows outer variable [shadowVariable] linux-2.1.3/src/blitter.cpp:351:16: note: Shadowed declaration linux-2.1.3/src/blitter.cpp:2928:10: note: Shadow variable linux-2.1.3/src/memtrack.cpp:51:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEPROMPath [valueFlowBailoutIncompleteVar] linux-2.1.3/src/blitter.cpp:1096:11: style: Variable 'pitchValue' can be declared as const array [constVariable] linux-2.1.3/src/blitter.cpp:4981:40: style: Parameter 'initcin' can be declared as const array [constParameter] linux-2.1.3/src/blitter.cpp:5390:11: style: Variable 'mask' can be declared as const array [constVariable] linux-2.1.3/src/blitter.cpp:5518:11: style: Variable 'funcmask' can be declared as const array [constVariable] linux-2.1.3/src/blitter.cpp:5702:10: style: Variable 'dech38' can be declared as const array [constVariable] linux-2.1.3/src/blitter.cpp:5980:10: style: Variable 'bitmask' can be declared as const array [constVariable] linux-2.1.3/src/memtrack.cpp:56:18: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/memtrack.cpp:56:10: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/mmu.cpp:521:11: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/mmu.cpp:581:21: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/mmu.cpp:517:10: style: The scope of the variable 'byteShift' can be reduced. [variableScope] linux-2.1.3/src/mmu.cpp:517:10: style: Variable 'byteShift' can be declared as const array [constVariable] linux-2.1.3/src/mmu.cpp:516:16: style: Variable 'size' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/mmu.cpp:516:11: style: Variable 'size' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:2873:54: style: Variable 'finneradd' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:2873:72: style: Variable 'inneradd' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:3102:10: style: Variable 'idlei' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:3273:14: style: Variable 'sshftld' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:3316:18: style: Variable 'idle_inneri' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:2873:44: style: Variable 'finneradd' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:2873:63: style: Variable 'inneradd' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/blitter.cpp:4426:41: style: Unused variable: data_x [unusedVariable] linux-2.1.3/src/blitter.cpp:4426:49: style: Unused variable: data_y [unusedVariable] linux-2.1.3/src/blitter.cpp:4482:41: style: Unused variable: data_x [unusedVariable] linux-2.1.3/src/blitter.cpp:4482:49: style: Unused variable: data_y [unusedVariable] linux-2.1.3/src/tom.cpp:669:34: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/tom.cpp:720:34: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/tom.cpp:763:34: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/tom.cpp:809:34: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/tom.cpp:830:34: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/tom.cpp:948:36: style: C-style pointer casting [cstyleCast] linux-2.1.3/src/tom.cpp:1105:68: style: Same value in both branches of ternary operator. [duplicateValueTernary] linux-2.1.3/src/tom.cpp:630:11: style: Local variable 'vmode' shadows outer variable [shadowVariable] linux-2.1.3/src/memory.h:30:26: note: Shadowed declaration linux-2.1.3/src/tom.cpp:630:11: note: Shadow variable linux-2.1.3/src/tom.cpp:809:12: style: Variable 'current_line_buffer' can be declared as pointer to const [constVariablePointer] linux-2.1.3/src/tom.cpp:1001:20: style: Variable 'pwidth' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/tom.cpp:1002:18: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/tom.cpp:1003:17: style: Variable 'varmod' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/tom.cpp:1001:13: style: Variable 'pwidth' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/tom.cpp:1002:13: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/tom.cpp:1003:10: style: Variable 'varmod' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:894:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1083:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1131:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1175:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1223:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1357:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1576:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1645:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1709:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/op.cpp:1772:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] linux-2.1.3/src/unzip.cpp:97:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] linux-2.1.3/src/unzip.cpp:84:51: performance: Function parameter 'ze' should be passed by const reference. [passedByValue] linux-2.1.3/src/op.cpp:97:30: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] linux-2.1.3/src/op.cpp:99:32: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] linux-2.1.3/src/op.cpp:448:24: style:inconclusive: Function 'OPProcessList' argument 1 names different: declaration 'scanline' definition 'halfline'. [funcArgNamesDifferent] linux-2.1.3/src/op.h:16:24: note: Function 'OPProcessList' argument 1 names different: declaration 'scanline' definition 'halfline'. linux-2.1.3/src/op.cpp:448:24: note: Function 'OPProcessList' argument 1 names different: declaration 'scanline' definition 'halfline'. linux-2.1.3/src/op.cpp:159:11: style: Local variable 'olp' shadows outer variable [shadowVariable] linux-2.1.3/src/memory.h:29:19: note: Shadowed declaration linux-2.1.3/src/op.cpp:159:11: note: Shadow variable linux-2.1.3/src/op.cpp:889:12: style: Local variable 'tomRam8' shadows outer variable [shadowVariable] linux-2.1.3/src/tom.h:65:16: note: Shadowed declaration linux-2.1.3/src/op.cpp:889:12: note: Shadow variable linux-2.1.3/src/op.cpp:1352:12: style: Local variable 'tomRam8' shadows outer variable [shadowVariable] linux-2.1.3/src/tom.h:65:16: note: Shadowed declaration linux-2.1.3/src/op.cpp:1352:12: note: Shadow variable linux-2.1.3/src/op.cpp:420:11: style: Variable 'bdMultiplier' can be declared as const array [constVariable] linux-2.1.3/src/op.cpp:894:13: style: Variable 'paletteRAM16' can be declared as pointer to const [constVariablePointer] linux-2.1.3/src/op.cpp:1357:13: style: Variable 'paletteRAM16' can be declared as pointer to const [constVariablePointer] linux-2.1.3/src/op.cpp:429:16: style: Variable 'link' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:429:11: style: Variable 'link' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:935:24: style: Variable 'clippedWidth' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:936:19: style: Variable 'in24BPPMode' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:938:16: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:936:7: style: Variable 'in24BPPMode' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:938:10: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:1388:19: style: Variable 'in24BPPMode' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:1392:16: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:1388:7: style: Variable 'in24BPPMode' is assigned a value that is never used. [unreadVariable] linux-2.1.3/src/op.cpp:1392:10: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] diff: head linux-2.1.3/src/blitter.cpp:2873:44: style: Variable 'finneradd' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/blitter.cpp:2873:63: style: Variable 'inneradd' is assigned a value that is never used. [unreadVariable] 2.17.0 linux-2.1.3/src/dac.cpp:191:5: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/dac.cpp:191:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/dac.cpp:192:5: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/dac.cpp:192:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/dac.cpp:230:3: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/dac.cpp:230:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/dac.cpp:231:3: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/dac.cpp:231:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/dsp.cpp:1272:5: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/dsp.cpp:1272:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head linux-2.1.3/src/eeprom.cpp:179:9: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/file.cpp:338:37: style: C-style pointer casting [cstyleCast] 2.17.0 linux-2.1.3/src/file.cpp:338:38: style: C-style pointer casting [cstyleCast] 2.17.0 linux-2.1.3/src/gpu.cpp:1051:5: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/gpu.cpp:1051:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head linux-2.1.3/src/gui/debug/opbrowser.cpp:224:11: style: Variable 'link' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/gui/filepicker.cpp:222:27: style:inconclusive: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. [functionConst] linux-2.1.3/src/gui/filepicker.h:20:11: note: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. linux-2.1.3/src/gui/filepicker.cpp:222:27: note: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. 2.17.0 linux-2.1.3/src/gui/filepicker.h:20:11: style:inconclusive: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. [functionConst] linux-2.1.3/src/gui/filepicker.cpp:222:27: note: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. linux-2.1.3/src/gui/filepicker.h:20:11: note: Either there is a missing 'override', or the member function 'FilePickerWindow::GetSelectedPrettyName' can be const. head linux-2.1.3/src/gui/filethread.cpp:172:9: style: Variable 'successful' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/m68000/sysdeps.h:31:2: error: #error "Your compiler is not ANSI. Get a real one." [preprocessorErrorDirective] head linux-2.1.3/src/memtrack.cpp:56:10: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/mmu.cpp:516:11: style: Variable 'size' is assigned a value that is never used. [unreadVariable] 2.17.0 linux-2.1.3/src/op.cpp:1083:8: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1083:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/op.cpp:1131:8: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1131:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/op.cpp:1175:8: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1175:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/op.cpp:1223:8: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1223:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/op.cpp:1357:28: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1357:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head linux-2.1.3/src/op.cpp:1388:7: style: Variable 'in24BPPMode' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/op.cpp:1392:10: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] 2.17.0 linux-2.1.3/src/op.cpp:1576:7: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1576:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/op.cpp:1645:7: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1645:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/op.cpp:1709:7: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1709:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 linux-2.1.3/src/op.cpp:1772:7: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:1772:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head linux-2.1.3/src/op.cpp:429:11: style: Variable 'link' is assigned a value that is never used. [unreadVariable] 2.17.0 linux-2.1.3/src/op.cpp:894:28: style: C-style pointer casting [cstyleCast] head linux-2.1.3/src/op.cpp:894:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head linux-2.1.3/src/op.cpp:936:7: style: Variable 'in24BPPMode' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/op.cpp:938:10: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/tom.cpp:1001:13: style: Variable 'pwidth' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/tom.cpp:1002:13: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] head linux-2.1.3/src/tom.cpp:1003:10: style: Variable 'varmod' is assigned a value that is never used. [unreadVariable] DONE