+Arx/src/audio/openal/OpenALBackend.cpp:486:41: warning: The class 'OpenALBackend' defines member function with name 'sourcesBegin' also defined in its parent class 'Backend'. [duplInheritedMember] +Arx/src/audio/openal/OpenALBackend.cpp:490:41: warning: The class 'OpenALBackend' defines member function with name 'sourcesEnd' also defined in its parent class 'Backend'. [duplInheritedMember] +Arx/src/core/Benchmark.cpp:260:2: style: The comparison 'unsigned long(None) == 0' is always true. [knownConditionTrueFalse] +Arx/src/core/Localisation.cpp:222:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] +Arx/src/core/Localisation.cpp:352:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] +Arx/src/core/Localisation.cpp:369:17: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] +Arx/src/core/SaveGame.cpp:112:14: style: Local variable 'save' shadows outer function [shadowFunction] +Arx/src/core/SaveGame.cpp:205:19: style: Local variable 'save' shadows outer function [shadowFunction] +Arx/src/graphics/Color.h:275:11: warning: The class 'Color4 < uint8_t >' defines member function with name 'operator=' also defined in its parent class 'Color3 < uint8_t >'. [duplInheritedMember] +Arx/src/graphics/Color.h:316:16: warning: The class 'Color4 < float >' defines member function with name 'rgb' also defined in its parent class 'Color3 < float >'. [duplInheritedMember] +Arx/src/graphics/Color.h:316:16: warning: The class 'Color4 < uint8_t >' defines member function with name 'rgb' also defined in its parent class 'Color3 < uint8_t >'. [duplInheritedMember] +Arx/src/graphics/Color.h:316:16: warning: The class 'Color4 < unsigned char >' defines member function with name 'rgb' also defined in its parent class 'Color3 < unsigned char >'. [duplInheritedMember] +Arx/src/graphics/Color.h:316:16: warning: The class 'Color4' defines member function with name 'rgb' also defined in its parent class 'Color3'. [duplInheritedMember] +Arx/src/graphics/Color.h:324:9: warning: The class 'Color4 < float >' defines member function with name 'operator*' also defined in its parent class 'Color3 < float >'. [duplInheritedMember] +Arx/src/graphics/Color.h:324:9: warning: The class 'Color4 < uint8_t >' defines member function with name 'operator*' also defined in its parent class 'Color3 < uint8_t >'. [duplInheritedMember] +Arx/src/graphics/Color.h:324:9: warning: The class 'Color4 < unsigned char >' defines member function with name 'operator*' also defined in its parent class 'Color3 < unsigned char >'. [duplInheritedMember] +Arx/src/graphics/Color.h:324:9: warning: The class 'Color4' defines member function with name 'operator*' also defined in its parent class 'Color3'. [duplInheritedMember] +Arx/src/graphics/opengl/OpenGLUtil.h:41:2: error: #error "OpenGL renderer not supported: need ARX_HAVE_EPOXY or ARX_HAVE_GLEW" [preprocessorErrorDirective] -Arx/src/gui/Menu.h:61:1: style: The struct 'ARX_MENU_DATA' does not have a constructor although it has private member variables. [noConstructor] +Arx/src/gui/Menu.h:61:1: style: The struct 'ARX_MENU_DATA' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] +Arx/src/gui/widget/TextInputWidget.cpp:98:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] +Arx/src/gui/widget/TextInputWidget.cpp:148:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] +Arx/src/gui/widget/Widget.cpp:46:5: style: Condition 'm_enabled' is always true [knownConditionTrueFalse] -Arx/src/gui/widget/WidgetContainer.cpp:41:39: style: Parameter 'selected' can be declared with const [constParameter] +Arx/src/gui/widget/WidgetContainer.cpp:41:39: style: Parameter 'selected' can be declared as pointer to const [constParameterPointer] +Arx/src/io/Blast.cpp:154:10: style: Variable 'next' can be declared as pointer to const [constVariablePointer] +Arx/src/io/IniReader.cpp:157:11: style: Local variable 'end' shadows outer function [shadowFunction] +Arx/src/io/IniSection.cpp:71:28: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] +Arx/src/io/SaveBlock.cpp:60:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] +Arx/src/io/SaveBlock.cpp:62:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] +Arx/src/io/fs/FilePath.cpp:240:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] -Arx/src/io/fs/FilesystemBoost.cpp:106:26: style: Redundant condition: If 'type == 0', the comparison 'type != 1' is always true. [redundantCondition] +Arx/src/io/fs/FilesystemBoost.cpp:106:26: style: Redundant condition: The condition 'type == 0' is redundant since 'type != 1' is sufficient. [redundantCondition] +Arx/src/io/log/ConsoleLogger.cpp:60:10: style: Variable 'term' can be declared as pointer to const [constVariablePointer] +Arx/src/io/resource/PakReader.cpp:89:14: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:91:18: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:107:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:109:6: style: The function 'seek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:111:9: style: The function 'tell' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:148:20: style: Condition 'm_offset>m_file.m_size' is always false [knownConditionTrueFalse] +Arx/src/io/resource/PakReader.cpp:197:14: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:199:18: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:215:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:217:6: style: The function 'seek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:219:9: style: The function 'tell' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:389:14: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:391:18: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:406:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:408:6: style: The function 'seek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:410:9: style: The function 'tell' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/src/io/resource/PakReader.cpp:607:12: style: Variable 'f' can be declared as pointer to const [constVariablePointer] +Arx/src/io/resource/PakReader.cpp:617:12: style: Variable 'f' can be declared as pointer to const [constVariablePointer] +Arx/src/io/resource/ResourcePath.cpp:240:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] +Arx/src/lib/ArxIO.cpp:61:7: style: The function 'flush' overrides a function in a base class but is identical to the overridden function [uselessOverride] +Arx/src/platform/Alignment.h:60:3: error: #error "No way to determine required alignment!" [preprocessorErrorDirective] -Arx/src/platform/Endian.h:210:48: style: Condition '*reinterpret_cast(&signature)==1' is always false [knownConditionTrueFalse] -Arx/src/platform/Endian.h:215:48: style: Condition '*reinterpret_cast(&signature)==4' is always false [knownConditionTrueFalse] -Arx/src/platform/Endian.h:229:14: style: Unused private function: 'little_endian::reversed' [unusedPrivateFunction] -Arx/src/platform/Endian.h:232:11: style: Unused private function: 'little_endian::decode' [unusedPrivateFunction] -Arx/src/platform/Endian.h:241:14: style: Unused private function: 'little_endian::encode' [unusedPrivateFunction] -Arx/src/platform/Endian.h:258:14: style: Unused private function: 'big_endian::reversed' [unusedPrivateFunction] -Arx/src/platform/Endian.h:261:11: style: Unused private function: 'big_endian::decode' [unusedPrivateFunction] -Arx/src/platform/Endian.h:270:14: style: Unused private function: 'big_endian::encode' [unusedPrivateFunction] +Arx/src/platform/Endian.h:210:48: style: Return value '*reinterpret_cast(&signature)==1' is always false [knownConditionTrueFalse] +Arx/src/platform/Endian.h:215:48: style: Return value '*reinterpret_cast(&signature)==4' is always false [knownConditionTrueFalse] +Arx/src/platform/Endian.h:225:56: style: Return value 'detail::is_little_endian()' is always false [knownConditionTrueFalse] +Arx/src/platform/Endian.h:229:55: style: Return value 'detail::is_big_endian()' is always false [knownConditionTrueFalse] +Arx/src/platform/Endian.h:254:53: style: Return value 'detail::is_big_endian()' is always false [knownConditionTrueFalse] +Arx/src/platform/Endian.h:258:58: style: Return value 'detail::is_little_endian()' is always false [knownConditionTrueFalse] -Arx/src/platform/Environment.cpp:524:31: warning: Either the condition 'fd<0' is redundant or the array 'names[3]' is accessed at index 3, which is out of bounds. [arrayIndexOutOfBoundsCond] -Arx/src/platform/Environment.cpp:560:27: error: Uninitialized variable: path [uninitvar] +Arx/src/platform/Environment.cpp:239:69: style: Parameter 'result' can be declared as reference to const [constParameterReference] +Arx/src/platform/Environment.cpp:544:7: style: Variable 'path' can be declared as const array [constVariable] +Arx/src/platform/Environment.cpp:560:10: style: Return value 'valid' is always false [knownConditionTrueFalse] +Arx/src/platform/Environment.cpp:560:27: error: Uninitialized variable: path [legacyUninitvar] +Arx/src/platform/Environment.h:120:33: style: Return value '!isFileDescriptorDisabled(0)' is always true [knownConditionTrueFalse] +Arx/src/platform/Environment.h:123:34: style: Return value '!isFileDescriptorDisabled(1)' is always true [knownConditionTrueFalse] +Arx/src/platform/Environment.h:126:34: style: Return value '!isFileDescriptorDisabled(2)' is always true [knownConditionTrueFalse] +Arx/src/platform/Lock.h:31:2: error: #error "Locking not supported: need ARX_HAVE_PTHREADS on non-Windows systems" [preprocessorErrorDirective] +Arx/src/platform/Process.cpp:98:13: style: Variable 'dev_null' is assigned a value that is never used. [unreadVariable] +Arx/src/platform/Thread.h:36:2: error: #error "Threads not supported: need ARX_HAVE_PTHREADS on non-Windows systems" [preprocessorErrorDirective] +Arx/src/platform/WindowsUtils.cpp:36:7: style: Local variable 'length' shadows outer function [shadowFunction] +Arx/src/platform/WindowsUtils.cpp:43:6: style: Local variable 'length' shadows outer function [shadowFunction] +Arx/src/platform/WindowsUtils.cpp:59:31: warning: Redundant code: Found unused cast of expression '&m_dynamic'. [constStatement] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:122:17: style: struct member 'PlatformCrashHandlers::illHandler' is never used. [unusedStructMember] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:124:17: style: struct member 'PlatformCrashHandlers::busHandler' is never used. [unusedStructMember] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:39:7: warning: The class 'CrashHandlerPOSIX' defines member function with name 'registerCrashCallback' also defined in its parent class 'CrashHandlerImpl'. [duplInheritedMember] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:40:7: warning: The class 'CrashHandlerPOSIX' defines member function with name 'unregisterCrashCallback' also defined in its parent class 'CrashHandlerImpl'. [duplInheritedMember] +Arx/src/platform/crashhandler/CrashHandlerWindows.cpp:192:50: style: C-style pointer casting [cstyleCast] +Arx/src/platform/crashhandler/CrashHandlerWindows.h:41:7: warning: The class 'CrashHandlerWindows' defines member function with name 'registerCrashCallback' also defined in its parent class 'CrashHandlerImpl'. [duplInheritedMember] +Arx/src/platform/crashhandler/CrashHandlerWindows.h:42:7: warning: The class 'CrashHandlerWindows' defines member function with name 'unregisterCrashCallback' also defined in its parent class 'CrashHandlerImpl'. [duplInheritedMember] +Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:100:14: style: Variable 'time' can be declared as pointer to const [constVariablePointer] +Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:167:14: style: Variable 'time' can be declared as pointer to const [constVariablePointer] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:307:14: style: struct member 'MemoryRegion::file' is never used. [unusedStructMember] +Arx/src/scene/Background.cpp:103:25: style: Variable 'eg2' can be declared as reference to const [constVariableReference] -Arx/src/scene/LinkedObject.cpp:65:78: style: Parameter 'tounlink' can be declared with const [constParameter] +Arx/src/scene/LinkedObject.cpp:65:78: style: Parameter 'tounlink' can be declared as pointer to const [constParameterPointer] -Arx/src/util/IteratedHash.h:119:1: style: The class 'iterated_hash < md5_transform >' does not have a constructor although it has private member variables. [noConstructor] -Arx/src/util/IteratedHash.h:119:1: style: The class 'iterated_hash' does not have a constructor although it has private member variables. [noConstructor] +Arx/src/util/IteratedHash.h:119:1: style: The class 'iterated_hash < md5_transform >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] +Arx/src/util/IteratedHash.h:119:1: style: The class 'iterated_hash' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] +Arx/src/util/cmdline/Interpreter.h:143:7: warning: The class 'interpreter < std :: string , type_cast >' defines member function with name 'visit' also defined in its parent class 'interpreter < key_type < std :: string > , type_cast >'. [duplInheritedMember] -Arx/src/util/cmdline/Parser.cpp:163:10: style: Condition 'p!=end' is always true [knownConditionTrueFalse] -Arx/src/util/cmdline/Parser.cpp:174:10: style: Condition 'p!=end' is always true [knownConditionTrueFalse] -Arx/src/util/cmdline/Parser.cpp:191:9: style: Condition 'p!=end' is always true [knownConditionTrueFalse] +Arx/src/util/cmdline/Parser.cpp:86:15: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] +Arx/src/window/SDL2X11Util.c:39:8: style: struct member 'SysWMinfo::padding' is never used. [unusedStructMember] +Arx/tools/crashreporter/ErrorReport.cpp:183:4: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] -Arx/tools/crashreporter/qhexedit/Commands.cpp:101:2: performance: Variable '_newBa' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] -Arx/tools/crashreporter/qhexedit/QHexEdit.h:63:1: style: The class 'QHexEdit' does not have a constructor although it has private member variables. [noConstructor] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:78:15: style: Virtual function 'setFont' is called from constructor 'QHexEditPrivate(QScrollArea*parent)' at line 52. Dynamic binding is not used. [virtualCallInConstructor] +Arx/tools/crashreporter/qhexedit/XByteArray.h:77:8: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro] -Arx/tools/crashreporter/tbg/HTTPClientWindows.cpp:136:63: style: Parameter 'redirect' can be declared with const [constParameter] +Arx/tools/crashreporter/tbg/HTTPClientWindows.cpp:136:63: style: Parameter 'redirect' can be declared as reference to const [constParameterReference] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:62:7: style: The function 'taskStarted' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:63:7: style: The function 'taskStepStarted' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:64:7: style: The function 'taskStepEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:68:7: style: The function 'setError' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:74:7: style: The function 'setDetailedError' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] +Arx/tools/profiler/ui/ArxProfiler.h:77:9: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro] +Arx/tools/unpak/UnPak.cpp:80:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer]