2024-04-15 19:32 ftp://ftp.de.debian.org/debian/pool/main/c/cube2/cube2_0.0.20201227+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=zlib --library=motif --library=microsoft_sal --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 087fd79 (2024-04-15 20:21:32 +0200) count: 899 571 elapsed-time: 9.6 12.4 head-timing-info: old-timing-info: head results: cube2-0.0.20201227+dfsg/engine/textedit.h:721:1: error: There is an unknown macro here somewhere. Configuration is required. If ICOMMAND is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/blend.cpp:194:5: error: There is an unknown macro here somewhere. Configuration is required. If loop is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/blob.cpp:453:42: error: There is an unknown macro here somewhere. Configuration is required. If loopj is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/console.cpp:752:9: error: There is an unknown macro here somewhere. Configuration is required. If enumerate is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/command.cpp:2487:5: error: There is an unknown macro here somewhere. Configuration is required. If enumerate is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/cubeloader.cpp:165:9: error: There is an unknown macro here somewhere. Configuration is required. If loop is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/texture.h:53:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/decal.cpp:567:42: error: There is an unknown macro here somewhere. Configuration is required. If loopj is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/texture.h:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT_VEC4 [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/texture.h:144:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/texture.h:165:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/texture.h:311:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/texture.h:387:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/texture.h:388:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/texture.h:389:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/texture.h:685:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/engine.h:507:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/bih.cpp:11:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAY_SHADOW [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/bih.cpp:127:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/bih.cpp:148:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/bih.cpp:235:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/bih.cpp:312:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAY_SHADOW [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:12:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_ERROR [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_PEER_PACKET_THROTTLE_SCALE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:66:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_PEER_STATE_DISCONNECTED [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:91:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectname [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:130:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectname [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:145:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISC_NONE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:180:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_WARN [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_ERROR [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/client.cpp:219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/octa.h:108:5: warning: Member variable 'octaentities::next' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/octa.h:108:5: warning: Member variable 'octaentities::rnext' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/octa.h:108:5: warning: Member variable 'octaentities::distance' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/octa.h:219:5: warning:inconclusive: Member variable 'block3::grid' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/octa.h:219:5: warning:inconclusive: Member variable 'block3::orient' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::scale' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::invscale' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::nodes' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::tris' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::tribbs' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::pos' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::tc' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::posstride' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/bih.h:50:9: warning: Member variable 'mesh::tcstride' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:77:5: warning:inconclusive: Member variable 'SlotShaderParamState::val' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:77:5: warning:inconclusive: Member variable 'LocalShaderParamState::name' is not initialized in the constructor. Maybe it should be initialized directly in the class LocalShaderParamState? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:77:5: warning:inconclusive: Member variable 'ShaderParamBinding::loc' is not initialized in the constructor. Maybe it should be initialized directly in the class ShaderParamBinding? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:77:5: warning:inconclusive: Member variable 'ShaderParamBinding::size' is not initialized in the constructor. Maybe it should be initialized directly in the class ShaderParamBinding? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:454:5: warning: Member variable 'ImageData::w' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:454:5: warning: Member variable 'ImageData::h' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:454:5: warning: Member variable 'ImageData::bpp' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:454:5: warning: Member variable 'ImageData::levels' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:454:5: warning: Member variable 'ImageData::align' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:454:5: warning: Member variable 'ImageData::pitch' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::name' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::type' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::w' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::h' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::xs' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::ys' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::bpp' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::clamp' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::mipmap' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:562:5: warning: Member variable 'Texture::canreduce' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/engine.h:49:5: warning: Member variable 'font::charoffset' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/engine.h:49:5: warning: Member variable 'font::defaultw' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/engine.h:49:5: warning: Member variable 'font::defaulth' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/engine.h:49:5: warning: Member variable 'font::scale' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/texture.h:191:10: style:inconclusive: Technically the member function 'Shader::hasoption' can be const. [functionConst] cube2-0.0.20201227+dfsg/engine/texture.h:707:10: warning: The struct 'MSlot' defines member function with name 'reset' also defined in its parent struct 'Slot'. [duplInheritedMember] cube2-0.0.20201227+dfsg/engine/texture.h:662:10: note: Parent function 'Slot::reset' cube2-0.0.20201227+dfsg/engine/texture.h:707:10: note: Derived function 'MSlot::reset' cube2-0.0.20201227+dfsg/engine/texture.h:713:10: warning: The struct 'MSlot' defines member function with name 'cleanup' also defined in its parent struct 'Slot'. [duplInheritedMember] cube2-0.0.20201227+dfsg/engine/texture.h:678:10: note: Parent function 'Slot::cleanup' cube2-0.0.20201227+dfsg/engine/texture.h:713:10: note: Derived function 'MSlot::cleanup' cube2-0.0.20201227+dfsg/engine/texture.h:707:10: warning: The struct 'MSlot' defines member function with name 'reset' also defined in its parent struct 'VSlot'. [duplInheritedMember] cube2-0.0.20201227+dfsg/engine/texture.h:615:10: note: Parent function 'VSlot::reset' cube2-0.0.20201227+dfsg/engine/texture.h:707:10: note: Derived function 'MSlot::reset' cube2-0.0.20201227+dfsg/engine/texture.h:713:10: warning: The struct 'MSlot' defines member function with name 'cleanup' also defined in its parent struct 'VSlot'. [duplInheritedMember] cube2-0.0.20201227+dfsg/engine/texture.h:630:10: note: Parent function 'VSlot::cleanup' cube2-0.0.20201227+dfsg/engine/texture.h:713:10: note: Derived function 'MSlot::cleanup' cube2-0.0.20201227+dfsg/engine/octa.h:220:5: style: Struct 'block3' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/bih.h:65:5: style: Struct 'BIH' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:78:5: style: Struct 'SlotShaderParamState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:112:5: style: Struct 'UniformLoc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:119:5: style: Struct 'AttribLoc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:284:5: style: Struct 'GlobalShaderParam' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:343:5: style: Struct 'LocalShaderParam' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:470:5: style: Struct 'ImageData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:607:5: style: Struct 'VSlot' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/texture.h:660:5: style: Struct 'Slot' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/bih.h:52:44: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/bih.h:53:44: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/texture.h:529:17: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/texture.h:532:20: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/client.cpp:76:46: style:inconclusive: Function 'connectserv' argument 2 names different: declaration 'port' definition 'serverport'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/engine/engine.h:396:53: note: Function 'connectserv' argument 2 names different: declaration 'port' definition 'serverport'. cube2-0.0.20201227+dfsg/engine/client.cpp:76:46: note: Function 'connectserv' argument 2 names different: declaration 'port' definition 'serverport'. cube2-0.0.20201227+dfsg/engine/texture.h:195:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:18:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_FLASH [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxdynlights [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:79:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:86:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxdynlights [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:148:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:185:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:214:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_ATTACHMENT0 [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:53:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRAMEBUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:88:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRAMEBUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:182:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:228:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:351:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRAMEBUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:403:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_STRIP [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:417:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:456:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/glare.cpp:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glare [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/glare.cpp:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glare [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/glare.cpp:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glare [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:80:13: style: Condition 'faded<0' is always true [knownConditionTrueFalse] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:78:18: note: Assignment 'faded=-1', assigned value is -1 cube2-0.0.20201227+dfsg/engine/dynlight.cpp:79:35: note: Assuming condition is false cube2-0.0.20201227+dfsg/engine/dynlight.cpp:80:13: note: Condition 'faded<0' is always true cube2-0.0.20201227+dfsg/engine/dynlight.cpp:43:17: style: Local variable 'fading' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/engine/engine.h:330:25: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/dynlight.cpp:43:17: note: Shadow variable cube2-0.0.20201227+dfsg/engine/dynlight.cpp:156:13: style: Local variable 'color' shadows outer argument [shadowArgument] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:143:47: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/dynlight.cpp:156:13: note: Shadow variable cube2-0.0.20201227+dfsg/engine/dynlight.cpp:136:15: style: Variable 'd' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/dynlight.cpp:84:38: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/engine/lightmap.cpp:2257:1: error: There is an unknown macro here somewhere. Configuration is required. If VARF is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/grass.cpp:68:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/grass.cpp:84:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grassstep [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/grass.cpp:214:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/grass.cpp:244:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grass [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/grass.cpp:281:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grass [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/main.cpp:559:1: error: There is an unknown macro here somewhere. Configuration is required. If VARF is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::blurweights' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::bluroffsets' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::bluryweights' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::bluryoffsets' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::scissorx1' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::scissory1' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::scissorx2' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::scissory2' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:20:5: warning: Member variable 'rendertarget::blurtiles' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:152:10: style:inconclusive: Technically the member function 'rendertarget::checkblurtiles' can be const. [functionConst] cube2-0.0.20201227+dfsg/engine/rendertarget.h:394:10: style:inconclusive: Technically the member function 'rendertarget::debugscissor' can be const. [functionConst] cube2-0.0.20201227+dfsg/engine/glare.cpp:6:10: style: The function 'dorender' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:257:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/glare.cpp:6:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/glare.cpp:39:9: style:inconclusive: Same expression used in consecutive assignments of 'w' and 'h'. [duplicateAssignExpression] cube2-0.0.20201227+dfsg/engine/glare.cpp:39:27: note: Same expression used in consecutive assignments of 'w' and 'h'. cube2-0.0.20201227+dfsg/engine/glare.cpp:39:9: note: Same expression used in consecutive assignments of 'w' and 'h'. cube2-0.0.20201227+dfsg/engine/rendertarget.h:367:16: style: Variable 'sx' is assigned a value that is never used. [unreadVariable] cube2-0.0.20201227+dfsg/engine/master.cpp:47:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:367:21: style: Variable 'sy' is assigned a value that is never used. [unreadVariable] cube2-0.0.20201227+dfsg/engine/master.cpp:74:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:368:16: style: Variable 'sw' is assigned a value that is never used. [unreadVariable] cube2-0.0.20201227+dfsg/engine/master.cpp:195:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:206:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_HOST_ANY [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:241:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:260:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:294:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:328:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:345:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXTRANS [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:381:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:393:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:438:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:478:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:498:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:580:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:666:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/master.cpp:681:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enet_deinitialize [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendertarget.h:369:16: style: Variable 'sh' is assigned a value that is never used. [unreadVariable] cube2-0.0.20201227+dfsg/engine/material.cpp:13:9: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/menus.cpp:589:1: error: There is an unknown macro here somewhere. Configuration is required. If ICOMMAND is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/master.cpp:140:5: warning: Member variable 'client::input' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/engine/master.cpp:100:5: style: Struct 'messagebuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/master.cpp:600:26: style: Condition 'oldest<0' is always true [knownConditionTrueFalse] cube2-0.0.20201227+dfsg/engine/master.cpp:596:37: note: Assignment 'oldest=-1', assigned value is -1 cube2-0.0.20201227+dfsg/engine/master.cpp:600:26: note: Condition 'oldest<0' is always true cube2-0.0.20201227+dfsg/engine/master.cpp:413:28: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/master.cpp:522:17: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/master.cpp:563:15: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/master.cpp:621:24: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/master.cpp:572:19: style: Local variable 'readset' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/engine/master.cpp:568:15: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/master.cpp:572:19: note: Shadow variable cube2-0.0.20201227+dfsg/engine/master.cpp:572:28: style: Local variable 'writeset' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/engine/master.cpp:568:24: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/master.cpp:572:28: note: Shadow variable cube2-0.0.20201227+dfsg/engine/master.cpp:324:32: style: Parameter 's' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/engine/bih.h:69:10: performance:inconclusive: Technically the member function 'BIH::build' can be static (but you may consider moving to unnamed namespace). [functionStatic] cube2-0.0.20201227+dfsg/engine/bih.cpp:145:11: note: Technically the member function 'BIH::build' can be static (but you may consider moving to unnamed namespace). cube2-0.0.20201227+dfsg/engine/bih.h:69:10: note: Technically the member function 'BIH::build' can be static (but you may consider moving to unnamed namespace). cube2-0.0.20201227+dfsg/engine/bih.h:73:10: performance:inconclusive: Technically the member function 'BIH::triintersect' can be static (but you may consider moving to unnamed namespace). [functionStatic] cube2-0.0.20201227+dfsg/engine/bih.cpp:3:11: note: Technically the member function 'BIH::triintersect' can be static (but you may consider moving to unnamed namespace). cube2-0.0.20201227+dfsg/engine/bih.h:73:10: note: Technically the member function 'BIH::triintersect' can be static (but you may consider moving to unnamed namespace). cube2-0.0.20201227+dfsg/engine/bih.cpp:239:5: warning: Struct 'BIH' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cube2-0.0.20201227+dfsg/engine/bih.cpp:239:5: warning: Struct 'BIH' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cube2-0.0.20201227+dfsg/engine/movie.cpp:229:9: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/grass.cpp:20:5: style: Struct 'grasswedge' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/grass.cpp:297:43: error: Null pointer dereference: ptr [nullPointer] cube2-0.0.20201227+dfsg/engine/grass.cpp:296:28: note: Assignment 'ptr=0', assigned value is 0 cube2-0.0.20201227+dfsg/engine/grass.cpp:297:43: note: Null pointer dereference cube2-0.0.20201227+dfsg/engine/grass.cpp:298:42: error: Null pointer dereference: ptr [nullPointer] cube2-0.0.20201227+dfsg/engine/grass.cpp:296:28: note: Assignment 'ptr=0', assigned value is 0 cube2-0.0.20201227+dfsg/engine/grass.cpp:298:42: note: Null pointer dereference cube2-0.0.20201227+dfsg/engine/grass.cpp:299:46: error: Null pointer dereference: ptr [nullPointer] cube2-0.0.20201227+dfsg/engine/grass.cpp:296:28: note: Assignment 'ptr=0', assigned value is 0 cube2-0.0.20201227+dfsg/engine/grass.cpp:299:46: note: Null pointer dereference cube2-0.0.20201227+dfsg/engine/grass.cpp:300:46: error: Null pointer dereference: ptr [nullPointer] cube2-0.0.20201227+dfsg/engine/grass.cpp:296:28: note: Assignment 'ptr=0', assigned value is 0 cube2-0.0.20201227+dfsg/engine/grass.cpp:300:46: note: Null pointer dereference cube2-0.0.20201227+dfsg/engine/grass.cpp:301:44: error: Null pointer dereference: ptr [nullPointer] cube2-0.0.20201227+dfsg/engine/grass.cpp:296:28: note: Assignment 'ptr=0', assigned value is 0 cube2-0.0.20201227+dfsg/engine/grass.cpp:301:44: note: Null pointer dereference cube2-0.0.20201227+dfsg/engine/bih.cpp:115:24: style: Variable 'restore' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/bih.cpp:127:15: style: Variable 'm' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/normal.cpp:145:9: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/octaedit.cpp:108:1: error: There is an unknown macro here somewhere. Configuration is required. If VARF is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/octa.cpp:1774:33: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/octarender.cpp:1298:21: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/pvs.cpp:79:14: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/physics.cpp:125:5: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/vertmodel.h:179:33: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/renderparticles.cpp:999:5: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/rendertext.cpp:389:92: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/rendersky.cpp:235:9: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/renderva.cpp:788:14: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/server.cpp:220:13: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/shader.cpp:222:9: error: There is an unknown macro here somewhere. Configuration is required. If loopv is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:195:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NUM_EXTENSIONS [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:223:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VENDOR [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:600:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LESS [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:636:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:750:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zoom [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:756:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zoom [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:795:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sensitivity [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:827:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thirdperson [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:896:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nearplane [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:918:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nearplane [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:936:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable depthoffset [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:952:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable depthoffset [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:970:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1014:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1044:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SCISSOR_TEST [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1057:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_STATIC_DRAW [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1072:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec2 [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1130:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_STRIP [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1142:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATF_VOLUME [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1163:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATF_VOLUME [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1285:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATF_VOLUME [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1313:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skyboxglare [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1387:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_AIR [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1509:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_CAMERA [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1588:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SCISSOR_TEST [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1626:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CULL_FACE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1651:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1675:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1682:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1698:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minimapsize [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1822:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable motionblur [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1872:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1980:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usedamagecompass [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2001:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable damagecompasssize [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2045:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable damagescreen [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2052:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2072:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2118:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hidehud [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2184:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable editmode [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:40:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:102:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:131:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:188:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:243:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:250:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:295:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:315:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:323:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:364:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_HOST_ANY [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:385:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:410:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:418:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:463:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:495:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:547:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:580:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:614:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:623:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:680:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_ERROR [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:712:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable autoupdateservers [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:729:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:33:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:40:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapangle [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapprecision [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_BUFFER_BIT [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:127:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:198:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:220:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapdist [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:237:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapdist [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:270:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapdist [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:281:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE7 [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:319:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapsize [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_NO_ALT [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EF_SOUND [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:96:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inuse [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:114:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:180:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audiodriver [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:208:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usesound [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:255:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MUS_NONE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:271:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:420:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:456:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:482:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:504:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numslots [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:517:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:531:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:569:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:589:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:606:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:620:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:635:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable soundvol [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:671:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:680:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:691:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minimizedsounds [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:725:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:732:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable soundvol [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:808:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:817:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inuse [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:864:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/sound.cpp:920:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mumble [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:93:19: style: The function 'colorformats' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:31:27: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:93:19: note: Function in derived class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:99:10: style: The function 'swaptexs' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:255:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:99:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:101:10: style: The function 'scissorblur' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:289:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:101:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:110:10: style: The function 'scissorrender' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:269:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:110:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:118:10: style: The function 'doclear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:309:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:118:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:124:10: style: The function 'dorender' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:257:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:124:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:175:10: style: The function 'flipdebug' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:392:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:175:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:177:10: style: The function 'dodebug' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/engine/rendertarget.h:391:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:177:10: note: Function in derived class cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:339:15: style: Comparison of a variable having boolean value using relational (<, >, <= or >=) operator. [comparisonOfBoolWithBoolError] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:340:15: style: Comparison of a variable having boolean value using relational (<, >, <= or >=) operator. [comparisonOfBoolWithBoolError] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:255:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:229:9: style:inconclusive: Technically the member function 'pingattempts::encodeping' can be const. [functionConst] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:235:9: style:inconclusive: Technically the member function 'pingattempts::decodeping' can be const. [functionConst] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:511:12: style: Condition 'si' is always false [knownConditionTrueFalse] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:509:26: note: Assignment 'si=NULL', assigned value is 0 cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:510:65: note: Assuming condition is false cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:511:12: note: Condition 'si' is always false cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:732:16: style: Condition '!kept' is always true [knownConditionTrueFalse] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:726:16: note: Assignment 'kept=0', assigned value is 0 cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:732:16: note: Condition '!kept' is always true cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:29:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:638:24: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:685:27: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:124:25: style: Variable 'rr' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/sound.cpp:54:5: style: Struct 'soundchannel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/engine/sound.cpp:790:15: style: Condition 'chanid<0' is always true [knownConditionTrueFalse] cube2-0.0.20201227+dfsg/engine/sound.cpp:789:15: note: Assuming that condition 'chanid<0' is not redundant cube2-0.0.20201227+dfsg/engine/sound.cpp:789:39: note: Assuming condition is false cube2-0.0.20201227+dfsg/engine/sound.cpp:790:15: note: Condition 'chanid<0' is always true cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:629:45: style: Variable 'timeout' is assigned a value that is never used. [unreadVariable] cube2-0.0.20201227+dfsg/engine/sound.cpp:363:27: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/sound.cpp:368:34: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/sound.cpp:369:34: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/sound.cpp:370:34: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/sound.cpp:371:34: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/sound.cpp:394:23: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/sound.cpp:114:23: style: Variable 'chan' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/sound.cpp:456:26: style: Variable 's' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/sound.cpp:459:28: style: Variable 'c' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/sound.cpp:606:23: style: Variable 'chan' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/sound.cpp:671:23: style: Variable 'chan' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/sound.cpp:725:20: style: Variable 'e' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/sound.cpp:540:26: style: Parameter 'name' can be declared as pointer to const. However it seems that 'registersound' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:541:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:540:26: note: Parameter 'name' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:540:37: style: Parameter 'vol' can be declared as pointer to const. However it seems that 'registersound' is a callback function, if 'vol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:541:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:540:37: note: Parameter 'vol' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:543:21: style: Parameter 'name' can be declared as pointer to const. However it seems that 'mapsound' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:544:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:543:21: note: Parameter 'name' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:543:32: style: Parameter 'vol' can be declared as pointer to const. However it seems that 'mapsound' is a callback function, if 'vol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:544:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:543:32: note: Parameter 'vol' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:543:42: style: Parameter 'maxuses' can be declared as pointer to const. However it seems that 'mapsound' is a callback function, if 'maxuses' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:544:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:543:42: note: Parameter 'maxuses' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:546:21: style: Parameter 'name' can be declared as pointer to const. However it seems that 'altsound' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:547:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:546:21: note: Parameter 'name' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:546:32: style: Parameter 'vol' can be declared as pointer to const. However it seems that 'altsound' is a callback function, if 'vol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:547:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:546:32: note: Parameter 'vol' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:549:24: style: Parameter 'name' can be declared as pointer to const. However it seems that 'altmapsound' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:550:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:549:24: note: Parameter 'name' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:549:35: style: Parameter 'vol' can be declared as pointer to const. However it seems that 'altmapsound' is a callback function, if 'vol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/sound.cpp:550:9: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/sound.cpp:549:35: note: Parameter 'vol' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/sound.cpp:602:30: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/engine/texture.cpp:1660:14: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/engine/water.cpp:552:5: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/world.cpp:1077:1: error: There is an unknown macro here somewhere. Configuration is required. If ICOMMAND is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/engine/worldio.cpp:240:34: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/fpsgame/game.h:491:13: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/fpsgame/client.cpp:421:5: error: There is an unknown macro here somewhere. Configuration is required. If ICOMMAND is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/fpsgame/scoreboard.cpp:80:13: error: There is an unknown macro here somewhere. Configuration is required. If enumerate is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/fpsgame/waypoint.cpp:438:39: error: syntax error [syntaxError] cube2-0.0.20201227+dfsg/fpsgame/server.cpp:923:9: error: There is an unknown macro here somewhere. Configuration is required. If enumerate is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/rpggame/objset.cpp:18:9: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] cube2-0.0.20201227+dfsg/rpggame/stats.h:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/stats.h:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgent.h:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable o [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgent.h:37:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgent.h:41:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yaw [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:74:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aliasname [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:134:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PHYS_SLIDE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:195:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ds [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:249:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3D_UP [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:275:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3D_UP [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:344:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:12:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ALIVE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:119:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PART_SMOKE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:141:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yaw [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:158:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable move [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:173:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable o [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:243:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:33:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_MAPMODEL [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:60:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player1 [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:87:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpgent.h:27:5: warning: Member variable 'rpgent::mpweapon' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/rpggame/rpgent.h:27:5: warning: Member variable 'rpgent::mpdist' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/rpggame/rpgent.h:30:9: performance: Variable 'home' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:10:5: style: Struct 'rpgaction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:60:5: style: Struct 'rpgobj' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:30:43: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:36:56: style: C-style reference casting [cstyleCast] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:39:17: style: C-style reference casting [cstyleCast] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:56:23: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:60:28: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:87:64: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/rpggame/rpgent.h:37:23: style: Parameter 't' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:11:31: style: Parameter 'e' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:12:31: style: Parameter 'e' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:12:45: style: Parameter 'a' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:14:37: style: Parameter 'e' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:33:30: style: Parameter 'e' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:36:27: style: Parameter 'e' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:79:30: style: Parameter 'e' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:92:51: style: Parameter 'anim' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:92:62: style: Parameter 'basetime' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:37:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/entities.cpp:79:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/ent.cpp:11:17: style: Variable 'e' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:16:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable editmode [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable editmode [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:97:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_2D [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:104:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_PLAYER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:112:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_AI [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:150:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_STRIP [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:207:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_AI [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:214:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANIM_ATTACK1 [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:227:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DEAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:246:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DEAD [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:251:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_EDITING [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:305:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISC_NONE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:207:61: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:225:30: style: Parameter 'color' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:254:39: style: Parameter 'color' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:254:51: style: Parameter 'dir' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:262:45: style: Parameter 'o' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:262:53: style: Parameter 'hud' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:266:45: style: Parameter 'o' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:266:53: style: Parameter 'd' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:272:38: style: Parameter 'extras' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:273:38: style: Parameter 'extras' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:284:45: style: Parameter 'args' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:287:49: style: Parameter 'p' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:310:55: style: Parameter 'p' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:313:36: style: Parameter 'req' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:313:51: style: Parameter 'p' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:116:33: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:116:45: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:118:27: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:121:28: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:127:27: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:134:29: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:231:41: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:232:39: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:233:35: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:254:31: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:262:33: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:266:33: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:290:34: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:291:25: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:300:33: style: Parameter 'ci' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:309:39: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:315:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:315:45: style: Parameter 'sdec' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:315:57: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/cube2font.c:23:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/cube2font.c:421:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LOAD_DEFAULT [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/cube2font.c:47:12: warning: Either the condition 'data' is redundant or there is possible null pointer dereference: data. [nullPointerRedundantCheck] cube2-0.0.20201227+dfsg/shared/cube2font.c:51:8: note: Assuming that condition 'data' is not redundant cube2-0.0.20201227+dfsg/shared/cube2font.c:47:12: note: Null pointer dereference cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2268:40: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1263:38: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2014:23: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] cube2-0.0.20201227+dfsg/shared/cube2font.c:42:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/cube2font.c:322:26: style: Variable 'c' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/shared/cube2font.c:373:32: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/cube2font.c:445:11: warning: Uninitialized variables: order.code, order.uni, order.tex, order.x, order.y, order.w, order.h, order.offx, order.offy, order.offset, order.advance, order.color, order.alpha [uninitvar] cube2-0.0.20201227+dfsg/shared/cube2font.c:414:44: note: Assuming condition is false cube2-0.0.20201227+dfsg/shared/cube2font.c:445:11: note: Uninitialized variables: order.code, order.uni, order.tex, order.x, order.y, order.w, order.h, order.offx, order.offy, order.offset, order.advance, order.color, order.alpha cube2-0.0.20201227+dfsg/shared/cube2font.c:58:32: style: struct member 'pngihdr::compress' is never used. [unusedStructMember] cube2-0.0.20201227+dfsg/shared/cube2font.c:58:42: style: struct member 'pngihdr::filter' is never used. [unusedStructMember] cube2-0.0.20201227+dfsg/shared/cube2font.c:58:50: style: struct member 'pngihdr::interlace' is never used. [unusedStructMember] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2004:12: style: Condition '!dirs' is always true [knownConditionTrueFalse] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2000:16: note: Assignment 'dirs=0', assigned value is 0 cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2004:12: note: Condition '!dirs' is always true cube2-0.0.20201227+dfsg/engine/rendergl.cpp:198:32: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:204:29: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:223:27: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:224:29: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:225:28: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:370:28: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1983:20: style: The scope of the variable 'pitch' can be reduced. [variableScope] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:198:25: style: Local variable 'ext' shadows outer function [shadowFunction] cube2-0.0.20201227+dfsg/engine/engine.h:234:24: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/rendergl.cpp:198:25: note: Shadow variable cube2-0.0.20201227+dfsg/engine/rendergl.cpp:209:25: style: Local variable 'ext' shadows outer function [shadowFunction] cube2-0.0.20201227+dfsg/engine/engine.h:234:24: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/rendergl.cpp:209:25: note: Shadow variable cube2-0.0.20201227+dfsg/engine/rendergl.cpp:564:15: style: Local variable 'val' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:378:11: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/rendergl.cpp:564:15: note: Shadow variable cube2-0.0.20201227+dfsg/engine/rendergl.cpp:903:9: style: Local variable 'worldpos' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:630:5: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/rendergl.cpp:903:9: note: Shadow variable cube2-0.0.20201227+dfsg/engine/rendergl.cpp:964:9: style: Local variable 'worldpos' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:630:5: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/rendergl.cpp:964:9: note: Shadow variable cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1521:9: style: Local variable 'farplane' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:735:5: note: Shadowed declaration cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1521:9: note: Shadow variable cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1147:15: style: Variable 'c' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1705:19: style: Variable 'va' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2098:44: style: Parameter 'i' can be declared as pointer to const. However it seems that 'loadcrosshair_' is a callback function, if 'i' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2103:25: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2098:44: note: Parameter 'i' can be declared as pointer to const cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2268:28: style: Variable 'localvals' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2291:21: style: Variable 'nextstats' can be declared as const array [constVariable] cube2-0.0.20201227+dfsg/shared/tools.h:162:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:171:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:174:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:184:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:200:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:210:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:231:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:232:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:233:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:346:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:351:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_PACKET_FLAG_RELIABLE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:356:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:362:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:385:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:391:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:539:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:967:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1076:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1082:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1092:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yval [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1111:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1114:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1119:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1120:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1122:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1127:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1136:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1141:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1155:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1161:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1174:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1281:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1286:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1394:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.h:1396:179: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:341:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:349:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:358:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:366:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:381:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:389:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:394:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:404:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:1016:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:1017:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:1024:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:1032:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:1057:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:1089:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:1090:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/ents.h:216:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:86:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:87:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:88:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:89:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:94:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:104:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:115:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.h:140:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:597:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:656:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:675:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:55:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:81:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLES [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:115:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNSIGNED_BYTE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:159:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:226:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:254:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/glemu.cpp:329:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/geom.h:51:73: error: Reference to temporary returned. [returnTempReference] cube2-0.0.20201227+dfsg/shared/geom.h:52:73: error: Reference to temporary returned. [returnTempReference] cube2-0.0.20201227+dfsg/shared/geom.h:164:71: error: Reference to temporary returned. [returnTempReference] cube2-0.0.20201227+dfsg/shared/geom.h:165:71: error: Reference to temporary returned. [returnTempReference] cube2-0.0.20201227+dfsg/shared/tools.h:519:5: warning:inconclusive: Member variable 'stringslice::str' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/tools.h:519:5: warning:inconclusive: Member variable 'stringslice::len' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1019:5: warning:inconclusive: Member variable 'plane::offset' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1451:5: warning:inconclusive: Member variable 'dvec4::x' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1451:5: warning:inconclusive: Member variable 'dvec4::y' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1451:5: warning:inconclusive: Member variable 'dvec4::z' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1451:5: warning:inconclusive: Member variable 'dvec4::w' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1793:5: warning:inconclusive: Member variable 'squat::x' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1793:5: warning:inconclusive: Member variable 'squat::y' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1793:5: warning:inconclusive: Member variable 'squat::z' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:1793:5: warning:inconclusive: Member variable 'squat::w' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/ents.h:43:5: warning: Member variable 'entity::attr1' is not initialized in the constructor. Maybe it should be initialized directly in the class entity? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/shared/ents.h:43:5: warning: Member variable 'entity::attr2' is not initialized in the constructor. Maybe it should be initialized directly in the class entity? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/shared/ents.h:43:5: warning: Member variable 'entity::attr3' is not initialized in the constructor. Maybe it should be initialized directly in the class entity? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/shared/ents.h:43:5: warning: Member variable 'entity::attr4' is not initialized in the constructor. Maybe it should be initialized directly in the class entity? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/shared/ents.h:43:5: warning: Member variable 'entity::attr5' is not initialized in the constructor. Maybe it should be initialized directly in the class entity? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/shared/ents.h:43:5: warning: Member variable 'entity::type' is not initialized in the constructor. Maybe it should be initialized directly in the class entity? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/shared/ents.h:43:5: warning: Member variable 'entity::reserved' is not initialized in the constructor. Maybe it should be initialized directly in the class entity? [uninitDerivedMemberVar] cube2-0.0.20201227+dfsg/shared/geom.h:582:9: performance: Variable 'a' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] cube2-0.0.20201227+dfsg/shared/geom.h:1244:58: error: Member variable 'z' is initialized by itself. [selfInitialization] cube2-0.0.20201227+dfsg/shared/tools.h:1073:9: style:inconclusive: Technically the member function 'unionfind::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:1111:9: performance:inconclusive: Technically the member function 'queue::capacity' can be static (but you may consider moving to unnamed namespace). [functionStatic] cube2-0.0.20201227+dfsg/shared/geom.h:139:10: style:inconclusive: Technically the member function 'vec::reject' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/geom.h:358:23: debug: CheckClass::isMemberVar found used member variable 'w' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:366:9: debug: CheckClass::isMemberVar found used member variable 'x' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:381:29: debug: CheckClass::isMemberVar found used member variable 'w' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1016:52: debug: CheckClass::isMemberVar found used member variable 'x' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1016:62: debug: CheckClass::isMemberVar found used member variable 'y' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1016:72: debug: CheckClass::isMemberVar found used member variable 'z' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1017:52: debug: CheckClass::isMemberVar found used member variable 'x' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1017:62: debug: CheckClass::isMemberVar found used member variable 'y' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1017:72: debug: CheckClass::isMemberVar found used member variable 'z' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1032:9: debug: CheckClass::isMemberVar found used member variable 'x' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1046:10: style:inconclusive: Technically the member function 'plane::rayintersect' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/geom.h:1089:53: debug: CheckClass::isMemberVar found used member variable 'x' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1089:59: debug: CheckClass::isMemberVar found used member variable 'y' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1089:73: debug: CheckClass::isMemberVar found used member variable 'z' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1090:49: debug: CheckClass::isMemberVar found used member variable 'x' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1090:55: debug: CheckClass::isMemberVar found used member variable 'y' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/geom.h:1090:62: debug: CheckClass::isMemberVar found used member variable 'z' with varid 0 [varid0] cube2-0.0.20201227+dfsg/shared/iengine.h:565:9: performance:inconclusive: Technically the member function 'g3d_callback::starttime' can be static (but you may consider moving to unnamed namespace). [functionStatic] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < ufval >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:855:9: style:inconclusive: Technically the member function 'vector < ufval >::htfind' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < char * >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < unsigned char >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < int >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < entity >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < char >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < extentity * >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < const char * >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < unsigned char >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < ufval >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < char * >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < int >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < entity >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < char >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < extentity * >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < const char * >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:888:9: warning: Struct 'hashbase' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:888:9: warning: Struct 'hashbase' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cube2-0.0.20201227+dfsg/shared/tools.h:1194:8: warning: The struct 'reversequeue' defines member function with name 'operator[]' also defined in its parent struct 'queue'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1188:8: note: Parent function 'queue::operator[]' cube2-0.0.20201227+dfsg/shared/tools.h:1194:8: note: Derived function 'reversequeue::operator[]' cube2-0.0.20201227+dfsg/shared/tools.h:1195:14: warning: The struct 'reversequeue' defines member function with name 'operator[]' also defined in its parent struct 'queue'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1189:14: note: Parent function 'queue::operator[]' cube2-0.0.20201227+dfsg/shared/tools.h:1195:14: note: Derived function 'reversequeue::operator[]' cube2-0.0.20201227+dfsg/shared/geom.h:360:11: warning: The struct 'quat' defines member function with name 'add' also defined in its parent struct 'vec4'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/geom.h:309:11: note: Parent function 'vec4::add' cube2-0.0.20201227+dfsg/shared/geom.h:360:11: note: Derived function 'quat::add' cube2-0.0.20201227+dfsg/shared/geom.h:361:11: warning: The struct 'quat' defines member function with name 'sub' also defined in its parent struct 'vec4'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/geom.h:311:11: note: Parent function 'vec4::sub' cube2-0.0.20201227+dfsg/shared/geom.h:361:11: note: Derived function 'quat::sub' cube2-0.0.20201227+dfsg/shared/geom.h:362:11: warning: The struct 'quat' defines member function with name 'mul' also defined in its parent struct 'vec4'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/geom.h:302:11: note: Parent function 'vec4::mul' cube2-0.0.20201227+dfsg/shared/geom.h:362:11: note: Derived function 'quat::mul' cube2-0.0.20201227+dfsg/shared/geom.h:1014:11: warning: The struct 'plane' defines member function with name 'dist' also defined in its parent struct 'vec'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/geom.h:136:11: note: Parent function 'vec::dist' cube2-0.0.20201227+dfsg/shared/geom.h:1014:11: note: Derived function 'plane::dist' cube2-0.0.20201227+dfsg/shared/geom.h:1055:12: warning: The struct 'plane' defines member function with name 'reflectz' also defined in its parent struct 'vec'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/geom.h:144:10: note: Parent function 'vec::reflectz' cube2-0.0.20201227+dfsg/shared/geom.h:1055:12: note: Derived function 'plane::reflectz' cube2-0.0.20201227+dfsg/shared/geom.h:1081:12: warning: The struct 'plane' defines member function with name 'normalize' also defined in its parent struct 'vec'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/geom.h:132:10: note: Parent function 'vec::normalize' cube2-0.0.20201227+dfsg/shared/geom.h:1081:12: note: Derived function 'plane::normalize' cube2-0.0.20201227+dfsg/shared/ents.h:227:10: warning: The struct 'dynent' defines member function with name 'reset' also defined in its parent struct 'physent'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/ents.h:103:10: note: Parent function 'physent::reset' cube2-0.0.20201227+dfsg/shared/ents.h:227:10: note: Derived function 'dynent::reset' cube2-0.0.20201227+dfsg/shared/tools.h:342:5: style: Struct 'packetbuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:343:5: style: Struct 'packetbuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:882:5: style: Struct 'hashbase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:1010:5: style: Struct 'hashset' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:1027:5: style: Struct 'hashnameset' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:1052:5: style: Struct 'hashtable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:1301:5: style: Struct 'streambuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/geom.h:794:5: style: Struct 'matrix4x3' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/geom.h:1021:5: style: Struct 'plane' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/geom.h:1362:5: style: Struct 'bvec4' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/geom.h:1453:5: style: Struct 'dvec4' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/geom.h:1469:5: style: Struct 'matrix4' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/geom.h:1476:5: style: Struct 'matrix4' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/geom.h:1794:5: style: Struct 'squat' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:231:65: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:232:55: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:233:70: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:346:15: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:356:15: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:543:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:1001:54: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:1002:59: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:1003:61: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:1236:52: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:1237:67: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:1238:52: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:1239:66: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/command.h:135:98: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/command.h:139:100: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/command.h:143:47: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/command.h:163:95: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/glemu.h:96:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/glemu.h:106:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/glemu.h:117:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/glemu.h:140:24: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/glemu.h:129:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:594:45: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:636:43: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:685:41: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:686:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:688:15: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:297:28: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.h:305:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/geom.h:1667:13: style: Local variable 'scale' shadows outer function [shadowFunction] cube2-0.0.20201227+dfsg/shared/geom.h:1564:10: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/geom.h:1667:13: note: Shadow variable cube2-0.0.20201227+dfsg/shared/tools.h:709:12: style: Local variable 'buf' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/tools.h:582:8: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/tools.h:709:12: note: Shadow variable cube2-0.0.20201227+dfsg/shared/tools.h:718:20: style: Local variable 'buf' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/tools.h:582:8: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/tools.h:718:20: note: Shadow variable cube2-0.0.20201227+dfsg/shared/tools.h:1054:39: style: Parameter 'elem' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/shared/tools.h:1055:40: style: Parameter 'elem' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/shared/iengine.h:167:43: style: Parameter 'id' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/shared/tools.h:401:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/tools.h:401:36: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/tools.h:413:47: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/tools.h:1030:59: style: Parameter 'elem' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/tools.h:1216:71: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/shared/tools.h:1218:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cube2-0.0.20201227+dfsg/shared/tools.h:685:33: warning: Size of pointer 'newbuf' used instead of size of its data. [pointerSize] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < GLint >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:855:9: style:inconclusive: Technically the member function 'vector < GLint >::htfind' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < GLsizei >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:855:9: style:inconclusive: Technically the member function 'vector < GLsizei >::htfind' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < GLint >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < GLsizei >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/glemu.cpp:97:116: error: Pointer addition with NULL pointer. [nullPointerArithmetic] cube2-0.0.20201227+dfsg/shared/glemu.cpp:282:30: error: Pointer addition with NULL pointer. [nullPointerArithmetic] cube2-0.0.20201227+dfsg/shared/glemu.cpp:232:37: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:308:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curdir [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/stream.cpp:713:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/stream.cpp:715:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/stream.cpp:837:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:173:5: warning:inconclusive: Member variable 'bigint < 13 >::len' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:173:5: warning:inconclusive: Member variable 'bigint < 13 >::digits' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:175:5: warning: Member variable 'bigint < 13 >::digits' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:173:5: warning:inconclusive: Member variable 'bigint < 1 >::len' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:173:5: warning:inconclusive: Member variable 'bigint < 1 >::digits' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:175:5: warning: Member variable 'bigint < 1 >::digits' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:173:5: warning:inconclusive: Member variable 'bigint < 8 * sizeof ( hash . bytes ) / 16 >::len' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:173:5: warning:inconclusive: Member variable 'bigint < 8 * sizeof ( hash . bytes ) / 16 >::digits' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:175:5: warning: Member variable 'bigint < 8 * sizeof ( hash . bytes ) / 16 >::digits' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/crypto.cpp:361:10: style:inconclusive: Technically the member function 'bigint < 13 >::zerodigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:370:33: style:inconclusive: Technically the member function 'bigint < 13 >::copydigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:381:10: style:inconclusive: Technically the member function 'bigint < 13 >::dupdigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:361:10: style:inconclusive: Technically the member function 'bigint < 1 >::zerodigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:370:33: style:inconclusive: Technically the member function 'bigint < 1 >::copydigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:381:10: style:inconclusive: Technically the member function 'bigint < 1 >::dupdigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:361:10: style:inconclusive: Technically the member function 'bigint < 8 * sizeof ( hash . bytes ) / 16 >::zerodigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:370:33: style:inconclusive: Technically the member function 'bigint < 8 * sizeof ( hash . bytes ) / 16 >::copydigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:381:10: style:inconclusive: Technically the member function 'bigint < 8 * sizeof ( hash . bytes ) / 16 >::dupdigits' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/crypto.cpp:426:5: style: Struct 'gfield' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:427:5: style: Struct 'gfield' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:429:28: style: Struct 'gfield' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:174:5: style: Struct 'bigint < 13 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:175:5: style: Struct 'bigint < 13 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:176:28: style: Struct 'bigint < 13 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:174:5: style: Struct 'bigint < 1 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:175:5: style: Struct 'bigint < 1 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:176:28: style: Struct 'bigint < 1 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:174:5: style: Struct 'bigint < 8 * sizeof ( hash . bytes ) / 16 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:175:5: style: Struct 'bigint < 8 * sizeof ( hash . bytes ) / 16 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:176:28: style: Struct 'bigint < 8 * sizeof ( hash . bytes ) / 16 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/crypto.cpp:86:15: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:88:35: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:94:46: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:97:30: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:98:18: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:99:18: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:118:19: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:121:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:123:27: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:127:15: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:143:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:147:10: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:148:18: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:149:15: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:861:18: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:876:17: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:914:18: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:920:24: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:942:23: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/crypto.cpp:480:35: style: Local variable 'result' shadows outer function [shadowFunction] cube2-0.0.20201227+dfsg/shared/command.h:200:13: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/crypto.cpp:480:35: note: Shadow variable cube2-0.0.20201227+dfsg/shared/crypto.cpp:613:47: style: Local variable 'C' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/geom.h:1126:11: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/crypto.cpp:613:47: note: Shadow variable cube2-0.0.20201227+dfsg/shared/crypto.cpp:840:23: performance: Function parameter 'privkey' should be passed by const reference. [passedByValue] cube2-0.0.20201227+dfsg/shared/stream.cpp:647:29: error: Deallocation of an auto-variable (buf) results in undefined behaviour. [autovarInvalidDeallocation] cube2-0.0.20201227+dfsg/shared/stream.cpp:624:17: note: Assignment 'str=buf', assigned value is buf cube2-0.0.20201227+dfsg/shared/stream.cpp:637:12: note: Assuming condition is false cube2-0.0.20201227+dfsg/shared/stream.cpp:647:29: note: Deallocating memory that was not dynamically allocated cube2-0.0.20201227+dfsg/shared/stream.cpp:995:18: warning: Return value of function deflate() is not used. [ignoredReturnValue] cube2-0.0.20201227+dfsg/shared/stream.cpp:514:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] cube2-0.0.20201227+dfsg/shared/stream.cpp:1036:5: warning: Member variable 'utf8stream::buf' is not initialized in the constructor. [uninitMemberVar] cube2-0.0.20201227+dfsg/shared/tools.cpp:139:11: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.cpp:148:11: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/tools.cpp:139:11: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] cube2-0.0.20201227+dfsg/shared/tools.cpp:148:11: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:918:12: style:inconclusive: Technically the member function 'gzstream::tell' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/stream.cpp:1083:10: style:inconclusive: Technically the member function 'utf8stream::finishreading' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/stream.cpp:1108:12: style:inconclusive: Technically the member function 'utf8stream::tell' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < packagedir >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < packagedir >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/stream.cpp:682:12: warning: The struct 'filestream' defines member function with name 'tell' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1265:20: note: Parent function 'stream::tell' cube2-0.0.20201227+dfsg/shared/stream.cpp:682:12: note: Derived function 'filestream::tell' cube2-0.0.20201227+dfsg/shared/stream.cpp:918:12: warning: The struct 'gzstream' defines member function with name 'tell' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1265:20: note: Parent function 'stream::tell' cube2-0.0.20201227+dfsg/shared/stream.cpp:918:12: note: Derived function 'gzstream::tell' cube2-0.0.20201227+dfsg/shared/stream.cpp:919:12: warning: The struct 'gzstream' defines member function with name 'rawtell' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1266:20: note: Parent function 'stream::rawtell' cube2-0.0.20201227+dfsg/shared/stream.cpp:919:12: note: Derived function 'gzstream::rawtell' cube2-0.0.20201227+dfsg/shared/stream.cpp:921:12: warning: The struct 'gzstream' defines member function with name 'size' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/stream.cpp:602:24: note: Parent function 'stream::size' cube2-0.0.20201227+dfsg/shared/stream.cpp:921:12: note: Derived function 'gzstream::size' cube2-0.0.20201227+dfsg/shared/stream.cpp:930:12: warning: The struct 'gzstream' defines member function with name 'rawsize' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1269:20: note: Parent function 'stream::rawsize' cube2-0.0.20201227+dfsg/shared/stream.cpp:930:12: note: Derived function 'gzstream::rawsize' cube2-0.0.20201227+dfsg/shared/stream.cpp:1108:12: warning: The struct 'utf8stream' defines member function with name 'tell' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1265:20: note: Parent function 'stream::tell' cube2-0.0.20201227+dfsg/shared/stream.cpp:1108:12: note: Derived function 'utf8stream::tell' cube2-0.0.20201227+dfsg/shared/stream.cpp:656:6: style: The destructor '~filestream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:656:6: note: Destructor in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:676:10: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1263:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:676:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:681:10: style: The function 'end' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1264:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:681:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:709:12: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1270:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:709:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:710:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1271:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:710:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:711:10: style: The function 'flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1272:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:711:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:712:9: style: The function 'getchar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1273:17: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:712:9: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:713:10: style: The function 'putchar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1274:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:713:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:714:10: style: The function 'getline' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1275:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:714:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:715:10: style: The function 'putstring' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1276:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:715:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:717:12: style: The function 'printf' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1278:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:717:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:767:6: style: The destructor '~gzstream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:767:6: note: Destructor in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:856:10: style: The function 'getcrc' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1279:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:856:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:907:10: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1263:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:907:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:917:10: style: The function 'end' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1264:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:917:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:973:12: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1270:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:973:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1006:10: style: The function 'flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1272:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1006:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1008:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1271:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1008:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1040:6: style: The destructor '~utf8stream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1040:6: note: Destructor in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1100:10: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1263:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1100:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1107:10: style: The function 'end' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1264:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1107:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1142:12: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1270:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1142:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1158:10: style: The function 'getline' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1275:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1158:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1178:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1271:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1178:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1193:10: style: The function 'flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1272:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1193:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/stream.cpp:1193:10: style: The function 'flush' overrides a function in a base class but just delegates back to the base class. [uselessOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1272:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1193:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/tools.cpp:79:69: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cube2-0.0.20201227+dfsg/shared/tools.cpp:80:42: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cube2-0.0.20201227+dfsg/shared/tools.cpp:101:26: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cube2-0.0.20201227+dfsg/shared/tools.cpp:102:26: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cube2-0.0.20201227+dfsg/shared/tools.cpp:103:17: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cube2-0.0.20201227+dfsg/shared/zip.cpp:207:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/zip.cpp:383:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] cube2-0.0.20201227+dfsg/shared/tools.cpp:162:22: style:inconclusive: Function 'getstring' argument 1 names different: declaration 't' definition 'text'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/tools.h:1393:29: note: Function 'getstring' argument 1 names different: declaration 't' definition 'text'. cube2-0.0.20201227+dfsg/shared/tools.cpp:162:22: note: Function 'getstring' argument 1 names different: declaration 't' definition 'text'. cube2-0.0.20201227+dfsg/shared/tools.cpp:225:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/shared/stream.cpp:159:77: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:567:17: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:574:17: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:580:17: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:780:45: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:791:17: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:976:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:986:56: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:989:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1011:25: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1019:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1150:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1167:30: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1169:22: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1185:66: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1253:13: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:1259:31: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/stream.cpp:803:14: style: Checking if unsigned expression 'n' is less than zero. [unsignedLessThanZero] cube2-0.0.20201227+dfsg/shared/stream.cpp:1049:14: style: Checking if unsigned expression 'n' is less than zero. [unsignedLessThanZero] cube2-0.0.20201227+dfsg/shared/stream.cpp:5:26: style:inconclusive: Function 'conoutf' argument 1 names different: declaration 's' definition 'fmt'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/iengine.h:202:33: note: Function 'conoutf' argument 1 names different: declaration 's' definition 'fmt'. cube2-0.0.20201227+dfsg/shared/stream.cpp:5:26: note: Function 'conoutf' argument 1 names different: declaration 's' definition 'fmt'. cube2-0.0.20201227+dfsg/shared/stream.cpp:13:36: style:inconclusive: Function 'conoutf' argument 2 names different: declaration 's' definition 'fmt'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/iengine.h:203:43: note: Function 'conoutf' argument 2 names different: declaration 's' definition 'fmt'. cube2-0.0.20201227+dfsg/shared/stream.cpp:13:36: note: Function 'conoutf' argument 2 names different: declaration 's' definition 'fmt'. cube2-0.0.20201227+dfsg/shared/stream.cpp:21:45: style:inconclusive: Function 'conoutf' argument 3 names different: declaration 's' definition 'fmt'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/iengine.h:204:52: note: Function 'conoutf' argument 3 names different: declaration 's' definition 'fmt'. cube2-0.0.20201227+dfsg/shared/stream.cpp:21:45: note: Function 'conoutf' argument 3 names different: declaration 's' definition 'fmt'. cube2-0.0.20201227+dfsg/shared/stream.cpp:152:26: style:inconclusive: Function 'decodeutf8' argument 1 names different: declaration 'dst' definition 'dstbuf'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/tools.h:1349:33: note: Function 'decodeutf8' argument 1 names different: declaration 'dst' definition 'dstbuf'. cube2-0.0.20201227+dfsg/shared/stream.cpp:152:26: note: Function 'decodeutf8' argument 1 names different: declaration 'dst' definition 'dstbuf'. cube2-0.0.20201227+dfsg/shared/stream.cpp:152:62: style:inconclusive: Function 'decodeutf8' argument 3 names different: declaration 'src' definition 'srcbuf'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/tools.h:1349:66: note: Function 'decodeutf8' argument 3 names different: declaration 'src' definition 'srcbuf'. cube2-0.0.20201227+dfsg/shared/stream.cpp:152:62: note: Function 'decodeutf8' argument 3 names different: declaration 'src' definition 'srcbuf'. cube2-0.0.20201227+dfsg/shared/stream.cpp:483:26: style:inconclusive: Function 'listdir' argument 1 names different: declaration 'dir' definition 'dirname'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/tools.h:1372:33: note: Function 'listdir' argument 1 names different: declaration 'dir' definition 'dirname'. cube2-0.0.20201227+dfsg/shared/stream.cpp:483:26: note: Function 'listdir' argument 1 names different: declaration 'dir' definition 'dirname'. cube2-0.0.20201227+dfsg/shared/stream.cpp:1214:34: style:inconclusive: Function 'opentempfile' argument 1 names different: declaration 'filename' definition 'name'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/tools.h:1368:41: note: Function 'opentempfile' argument 1 names different: declaration 'filename' definition 'name'. cube2-0.0.20201227+dfsg/shared/stream.cpp:1214:34: note: Function 'opentempfile' argument 1 names different: declaration 'filename' definition 'name'. cube2-0.0.20201227+dfsg/shared/tools.h:1330:22: style: Local variable 'cube2unichars' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/stream.cpp:59:18: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/tools.h:1330:22: note: Shadow variable cube2-0.0.20201227+dfsg/shared/tools.h:1335:22: style: Local variable 'uni2cubeoffsets' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/stream.cpp:78:18: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/tools.h:1335:22: note: Shadow variable cube2-0.0.20201227+dfsg/shared/tools.h:1336:24: style: Local variable 'uni2cubechars' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/stream.cpp:82:20: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/tools.h:1336:24: note: Shadow variable cube2-0.0.20201227+dfsg/shared/tools.h:1341:24: style: Local variable 'cubelowerchars' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/stream.cpp:113:20: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/tools.h:1341:24: note: Shadow variable cube2-0.0.20201227+dfsg/shared/tools.h:1346:24: style: Local variable 'cubeupperchars' shadows outer variable [shadowVariable] cube2-0.0.20201227+dfsg/shared/stream.cpp:132:20: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/tools.h:1346:24: note: Shadow variable cube2-0.0.20201227+dfsg/shared/stream.cpp:721:13: style: Local variable 'result' shadows outer function [shadowFunction] cube2-0.0.20201227+dfsg/shared/command.h:200:13: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/stream.cpp:721:13: note: Shadow variable cube2-0.0.20201227+dfsg/shared/stream.cpp:154:27: style: Variable 'dstend' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/shared/stream.cpp:208:27: style: Variable 'dstend' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/shared/stream.cpp:584:34: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'rwopsclose' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/shared/stream.cpp:597:17: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/shared/stream.cpp:584:34: note: Parameter 'rw' can be declared as pointer to const cube2-0.0.20201227+dfsg/shared/zip.cpp:411:12: style:inconclusive: Technically the member function 'zipstream::size' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/zip.cpp:413:12: style:inconclusive: Technically the member function 'zipstream::tell' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < zipfile >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:746:9: style:inconclusive: Technically the member function 'vector < ziparchive * >::find' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < zipfile >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:325:10: style:inconclusive: Technically the member function 'databuf < ziparchive * >::check' can be const. [functionConst] cube2-0.0.20201227+dfsg/shared/tools.h:888:9: warning: Struct 'hashbase < hashnameset < zipfile > , zipfile , const char * , zipfile >' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:888:9: warning: Struct 'hashbase < hashnameset < zipfile > , zipfile , const char * , zipfile >' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cube2-0.0.20201227+dfsg/shared/zip.cpp:411:12: warning: The struct 'zipstream' defines member function with name 'size' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1268:20: note: Parent function 'stream::size' cube2-0.0.20201227+dfsg/shared/zip.cpp:411:12: note: Derived function 'zipstream::size' cube2-0.0.20201227+dfsg/shared/zip.cpp:413:12: warning: The struct 'zipstream' defines member function with name 'tell' also defined in its parent struct 'stream'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1265:20: note: Parent function 'stream::tell' cube2-0.0.20201227+dfsg/shared/zip.cpp:413:12: note: Derived function 'zipstream::tell' cube2-0.0.20201227+dfsg/shared/tools.h:1027:5: style: Struct 'hashnameset < zipfile >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/tools.h:882:5: style: Struct 'hashbase < hashnameset < zipfile > , zipfile , const char * , zipfile >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cube2-0.0.20201227+dfsg/shared/zip.cpp:352:6: style: The destructor '~zipstream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/zip.cpp:352:6: note: Destructor in derived class cube2-0.0.20201227+dfsg/shared/zip.cpp:404:10: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1263:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/zip.cpp:404:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/zip.cpp:412:10: style: The function 'end' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1264:18: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/zip.cpp:412:10: note: Function in derived class cube2-0.0.20201227+dfsg/shared/zip.cpp:487:12: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1270:20: note: Virtual function in base class cube2-0.0.20201227+dfsg/shared/zip.cpp:487:12: note: Function in derived class cube2-0.0.20201227+dfsg/shared/zip.cpp:92:44: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:98:30: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:99:31: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:100:34: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:101:32: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:102:28: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:103:25: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:104:27: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:105:34: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:125:34: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:126:32: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:127:36: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:128:30: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:129:36: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:130:32: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:131:32: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:132:30: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:133:39: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:134:41: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:135:35: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:136:36: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:137:38: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:138:35: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:139:40: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:140:40: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:141:31: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:179:28: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:180:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:181:24: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:182:30: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:183:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:184:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:185:24: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:186:33: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:187:35: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:188:29: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:189:30: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:359:45: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:505:26: style: C-style pointer casting [cstyleCast] cube2-0.0.20201227+dfsg/shared/zip.cpp:528:33: style:inconclusive: Function 'openzipfile' argument 1 names different: declaration 'filename' definition 'name'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/tools.h:1366:40: note: Function 'openzipfile' argument 1 names different: declaration 'filename' definition 'name'. cube2-0.0.20201227+dfsg/shared/zip.cpp:528:33: note: Function 'openzipfile' argument 1 names different: declaration 'filename' definition 'name'. cube2-0.0.20201227+dfsg/shared/zip.cpp:543:30: style:inconclusive: Function 'findzipfile' argument 1 names different: declaration 'filename' definition 'name'. [funcArgNamesDifferent] cube2-0.0.20201227+dfsg/shared/tools.h:1364:37: note: Function 'findzipfile' argument 1 names different: declaration 'filename' definition 'name'. cube2-0.0.20201227+dfsg/shared/zip.cpp:543:30: note: Function 'findzipfile' argument 1 names different: declaration 'filename' definition 'name'. cube2-0.0.20201227+dfsg/shared/zip.cpp:157:18: style: Local variable 'f' shadows outer argument [shadowArgument] cube2-0.0.20201227+dfsg/shared/zip.cpp:116:58: note: Shadowed declaration cube2-0.0.20201227+dfsg/shared/zip.cpp:157:18: note: Shadow variable cube2-0.0.20201227+dfsg/shared/zip.cpp:203:42: style: Parameter 'files' can be declared as reference to const [constParameterReference] cube2-0.0.20201227+dfsg/shared/zip.cpp:561:9: style: Variable 'f' can be declared as reference to const [constVariableReference] cube2-0.0.20201227+dfsg/shared/zip.cpp:273:17: style: Variable 'exists' can be declared as pointer to const [constVariablePointer] cube2-0.0.20201227+dfsg/shared/zip.cpp:105:54: style: Variable 'src' is assigned a value that is never used. [unreadVariable] cube2-0.0.20201227+dfsg/shared/zip.cpp:189:50: style: Variable 'src' is assigned a value that is never used. [unreadVariable] diff: head cube2-0.0.20201227+dfsg/engine/bih.cpp:11:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAY_SHADOW [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/bih.cpp:127:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/bih.cpp:148:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/bih.cpp:235:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/bih.cpp:312:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAY_SHADOW [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:12:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_ERROR [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:130:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectname [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:145:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISC_NONE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:180:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_WARN [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_ERROR [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_PEER_PACKET_THROTTLE_SCALE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:66:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_PEER_STATE_DISCONNECTED [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/client.cpp:91:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectname [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxdynlights [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:148:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:185:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:18:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:214:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_FLASH [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxdynlights [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:79:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:86:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/dynlight.cpp:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/engine.h:507:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/glare.cpp:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glare [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/glare.cpp:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glare [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/glare.cpp:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glare [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/grass.cpp:214:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/grass.cpp:244:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grass [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/grass.cpp:281:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grass [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/grass.cpp:68:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/grass.cpp:84:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grassstep [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:195:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:206:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_HOST_ANY [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:241:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:260:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:294:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:328:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:345:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXTRANS [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:381:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:393:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:438:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:478:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:498:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:580:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:666:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:681:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enet_deinitialize [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/master.cpp:74:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/octa.cpp:1774:33: error: syntax error [syntaxError] 2.13.0 cube2-0.0.20201227+dfsg/engine/octa.cpp:62:9: error: There is an unknown macro here somewhere. Configuration is required. If loopl is a macro then please configure it. [unknownMacro] head cube2-0.0.20201227+dfsg/engine/octarender.cpp:1298:21: error: syntax error [syntaxError] 2.13.0 cube2-0.0.20201227+dfsg/engine/octarender.cpp:96:9: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] head cube2-0.0.20201227+dfsg/engine/physics.cpp:125:5: error: syntax error [syntaxError] 2.13.0 cube2-0.0.20201227+dfsg/engine/physics.cpp:1786:5: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] 2.13.0 cube2-0.0.20201227+dfsg/engine/pvs.cpp:22:5: error: There is an unknown macro here somewhere. Configuration is required. If loop is a macro then please configure it. [unknownMacro] head cube2-0.0.20201227+dfsg/engine/pvs.cpp:79:14: error: syntax error [syntaxError] 2.13.0 cube2-0.0.20201227+dfsg/engine/ragdoll.h:15:13: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1014:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1044:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SCISSOR_TEST [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1057:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_STATIC_DRAW [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1072:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec2 [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1130:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_STRIP [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1142:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATF_VOLUME [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1163:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATF_VOLUME [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1285:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATF_VOLUME [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1313:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skyboxglare [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1387:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_AIR [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1509:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_CAMERA [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1588:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SCISSOR_TEST [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1626:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CULL_FACE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1651:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1675:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1682:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1698:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minimapsize [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1822:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable motionblur [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1872:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:195:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NUM_EXTENSIONS [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:1980:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usedamagecompass [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2001:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable damagecompasssize [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2045:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable damagescreen [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2052:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2072:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2118:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hidehud [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:2184:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable editmode [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:223:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VENDOR [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:600:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LESS [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:636:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:750:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zoom [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:756:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zoom [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:795:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sensitivity [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:827:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thirdperson [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:896:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nearplane [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:918:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nearplane [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:936:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable depthoffset [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:952:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable depthoffset [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendergl.cpp:970:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:182:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:228:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_ATTACHMENT0 [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:351:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRAMEBUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:403:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_STRIP [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:417:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:456:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:53:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRAMEBUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/rendertarget.h:88:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRAMEBUFFER [valueFlowBailoutIncompleteVar] 2.13.0 cube2-0.0.20201227+dfsg/engine/rendertext.cpp:389:25: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] head cube2-0.0.20201227+dfsg/engine/rendertext.cpp:389:92: error: syntax error [syntaxError] 2.13.0 cube2-0.0.20201227+dfsg/engine/renderva.cpp:1745:9: error: There is an unknown macro here somewhere. Configuration is required. If loopv is a macro then please configure it. [unknownMacro] head cube2-0.0.20201227+dfsg/engine/renderva.cpp:788:14: error: syntax error [syntaxError] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:102:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:131:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:188:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:243:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:250:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:295:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:315:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:323:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:364:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_HOST_ANY [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:385:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:40:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:410:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:418:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:463:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:495:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:547:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totalmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:580:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:614:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:623:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_SOCKET_NULL [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:680:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CON_ERROR [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:712:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable autoupdateservers [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/serverbrowser.cpp:729:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_BUFFER_BIT [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:127:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:198:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:220:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapdist [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:237:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapdist [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:270:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapdist [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:281:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE7 [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:319:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapsize [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:33:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:40:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapangle [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/shadowmap.cpp:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shadowmapprecision [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:114:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:180:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audiodriver [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:208:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usesound [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:255:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MUS_NONE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:271:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_NO_ALT [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:420:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:456:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:482:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:504:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numslots [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:517:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:531:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:569:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:589:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:606:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:620:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:635:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable soundvol [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:671:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:680:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:691:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minimizedsounds [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:725:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:732:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable soundvol [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:808:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EF_SOUND [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:817:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inuse [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:864:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:920:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mumble [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/sound.cpp:96:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inuse [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.cpp:1660:14: error: syntax error [syntaxError] 2.13.0 cube2-0.0.20201227+dfsg/engine/texture.cpp:759:13: error: There is an unknown macro here somewhere. Configuration is required. If loopi is a macro then please configure it. [unknownMacro] head cube2-0.0.20201227+dfsg/engine/texture.h:144:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.h:165:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.h:311:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.h:387:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.h:388:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.h:389:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.h:685:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/texture.h:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT_VEC4 [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/engine/vertmodel.h:179:33: error: syntax error [syntaxError] head cube2-0.0.20201227+dfsg/engine/worldio.cpp:240:34: error: syntax error [syntaxError] 2.13.0 cube2-0.0.20201227+dfsg/engine/worldio.cpp:258:13: error: There is an unknown macro here somewhere. Configuration is required. If loopj is a macro then please configure it. [unknownMacro] head cube2-0.0.20201227+dfsg/fpsgame/waypoint.cpp:438:39: error: syntax error [syntaxError] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:119:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PART_SMOKE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:12:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ALIVE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:141:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yaw [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:158:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable move [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:173:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable o [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:243:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/ent.cpp:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:11:31: style: Parameter 'e' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:12:31: style: Parameter 'e' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:12:45: style: Parameter 'a' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:14:37: style: Parameter 'e' can be declared as reference to const [constParameterReference] 2.13.0 cube2-0.0.20201227+dfsg/rpggame/entities.cpp:26:46: style: C-style pointer casting [cstyleCast] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:33:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_MAPMODEL [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:36:56: style: C-style reference casting [cstyleCast] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:39:17: style: C-style reference casting [cstyleCast] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:60:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player1 [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:79:30: style: Parameter 'e' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:79:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:87:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:92:51: style: Parameter 'anim' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/entities.cpp:92:62: style: Parameter 'basetime' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:104:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_PLAYER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:112:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_AI [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:116:33: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:116:45: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:118:27: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:121:28: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:127:27: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:134:29: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:150:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_STRIP [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:16:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:207:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT_AI [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:214:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANIM_ATTACK1 [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:225:30: style: Parameter 'color' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:227:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DEAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:231:41: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:232:39: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:233:35: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:246:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DEAD [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:251:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_EDITING [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:254:31: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:254:39: style: Parameter 'color' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:254:51: style: Parameter 'dir' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:262:33: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:262:45: style: Parameter 'o' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:262:53: style: Parameter 'hud' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:266:33: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:266:45: style: Parameter 'o' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:266:53: style: Parameter 'd' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:272:38: style: Parameter 'extras' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:273:38: style: Parameter 'extras' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:284:45: style: Parameter 'args' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:287:49: style: Parameter 'p' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable editmode [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:290:34: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:291:25: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:300:33: style: Parameter 'ci' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:305:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISC_NONE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:309:39: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:310:55: style: Parameter 'p' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:313:36: style: Parameter 'req' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:313:51: style: Parameter 'p' can be declared as reference to const [constParameterReference] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:315:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:315:45: style: Parameter 'sdec' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:315:57: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable editmode [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpg.cpp:97:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_2D [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgent.h:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable o [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgent.h:37:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgent.h:41:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yaw [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:134:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PHYS_SLIDE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:195:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ds [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:249:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3D_UP [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:275:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3D_UP [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:344:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/rpgobj.h:74:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aliasname [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/rpggame/stats.h:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastmillis [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/crypto.cpp:597:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/crypto.cpp:656:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/crypto.cpp:675:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/crypto.cpp:840:23: performance: Function parameter 'privkey' should be passed by const reference. [passedByValue] 2.13.0 cube2-0.0.20201227+dfsg/shared/crypto.cpp:908:12: style: C-style pointer casting [cstyleCast] 2.13.0 cube2-0.0.20201227+dfsg/shared/crypto.cpp:936:12: style: C-style pointer casting [cstyleCast] head cube2-0.0.20201227+dfsg/shared/cube2font.c:421:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LOAD_DEFAULT [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/ents.h:216:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:1016:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:1017:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:1024:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:1032:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:1057:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:1089:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:1090:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:341:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:349:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:358:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:366:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:381:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:389:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:394:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/geom.h:404:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:115:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNSIGNED_BYTE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:159:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:226:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:254:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:329:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:55:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:81:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.cpp:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLES [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:104:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:115:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:140:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:86:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:87:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:88:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:89:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/glemu.h:94:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/stream.cpp:1040:6: style: The destructor '~utf8stream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:1040:6: note: Destructor in derived class head cube2-0.0.20201227+dfsg/shared/stream.cpp:308:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curdir [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/stream.cpp:584:34: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'rwopsclose' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cube2-0.0.20201227+dfsg/shared/stream.cpp:597:17: note: You might need to cast the function pointer here cube2-0.0.20201227+dfsg/shared/stream.cpp:584:34: note: Parameter 'rw' can be declared as pointer to const head cube2-0.0.20201227+dfsg/shared/stream.cpp:656:6: style: The destructor '~filestream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:656:6: note: Destructor in derived class head cube2-0.0.20201227+dfsg/shared/stream.cpp:713:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/stream.cpp:715:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/stream.cpp:767:6: style: The destructor '~gzstream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/stream.cpp:767:6: note: Destructor in derived class head cube2-0.0.20201227+dfsg/shared/stream.cpp:837:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] 2.13.0 cube2-0.0.20201227+dfsg/shared/tools.h:1002:57: error: Reference to temporary returned. [returnTempReference] head cube2-0.0.20201227+dfsg/shared/tools.h:1076:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1082:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1092:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yval [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1111:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1114:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1119:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1120:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1122:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1127:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1136:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1141:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1155:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1161:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1174:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] 2.13.0 cube2-0.0.20201227+dfsg/shared/tools.h:1194:8: warning: The struct 'reversequeue' defines member function with name 'operator[]' also defined in its parent struct 'queue'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1189:14: note: Parent function 'queue::operator[]' cube2-0.0.20201227+dfsg/shared/tools.h:1194:8: note: Derived function 'reversequeue::operator[]' 2.13.0 cube2-0.0.20201227+dfsg/shared/tools.h:1195:14: warning: The struct 'reversequeue' defines member function with name 'operator[]' also defined in its parent struct 'queue'. [duplInheritedMember] cube2-0.0.20201227+dfsg/shared/tools.h:1188:8: note: Parent function 'queue::operator[]' cube2-0.0.20201227+dfsg/shared/tools.h:1195:14: note: Derived function 'reversequeue::operator[]' head cube2-0.0.20201227+dfsg/shared/tools.h:1218:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head cube2-0.0.20201227+dfsg/shared/tools.h:1281:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1286:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1394:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:1396:179: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:171:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:174:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:184:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:200:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:210:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:231:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:232:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:233:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:346:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:351:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENET_PACKET_FLAG_RELIABLE [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:356:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:362:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:385:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:391:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:539:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/tools.h:967:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c [valueFlowBailoutIncompleteVar] head cube2-0.0.20201227+dfsg/shared/zip.cpp:207:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.13.0 cube2-0.0.20201227+dfsg/shared/zip.cpp:219:18: style: Variable 'f' can be declared as reference to const [constVariableReference] head cube2-0.0.20201227+dfsg/shared/zip.cpp:352:6: style: The destructor '~zipstream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cube2-0.0.20201227+dfsg/shared/tools.h:1262:14: note: Virtual destructor in base class cube2-0.0.20201227+dfsg/shared/zip.cpp:352:6: note: Destructor in derived class head cube2-0.0.20201227+dfsg/shared/zip.cpp:383:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] DONE