/code/include/base/yourgame/audio.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 26:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/base/yourgame/control.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/base/yourgame/file.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 27:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/base/yourgame/gl_include.h 38:9 (warning) header guard does not follow preferred style [llvm-header-guard] /code/include/base/yourgame/input.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 28:14 (warning) enum 'Source' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] /code/include/base/yourgame/log.h 101:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 35:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 46:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 56:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 65:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 74:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 83:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 92:33 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] /code/include/base/yourgame/math.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 27:20 (warning) enum 'Projection' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 33:20 (warning) enum 'Axis' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] /code/include/base/yourgame/time.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/base/yourgame/version.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 45:34 (warning) redundant string initialization [readability-redundant-string-init] /code/include/base/yourgame/yourgame.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] /code/include/base_internal/yourgame_internal/file.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 24:1 (warning) #includes are not sorted properly [llvm-include-order] 27:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 31:27 (warning) initialization of 'ARCHIVE_FILE_EXTENSION' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 31:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] /code/include/base_internal/yourgame_internal/file_desktop.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 30:9 (warning) namespace 'desktop' not terminated with a closing comment [llvm-namespace-comment] /code/include/base_internal/yourgame_internal/input.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 26:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 30:16 (warning) accessing fields in struct 'InputValue' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 8 bytes [altera-struct-pack-align] 32:13 (warning) single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor,hicpp-explicit-conversions] 33:19 (warning) member variable 'val' has public visibility [misc-non-private-member-variables-in-classes] 34:19 (warning) member variable 'valLast' has public visibility [misc-non-private-member-variables-in-classes] 37:62 (warning) variable 'inputStates' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] /code/include/base_internal/yourgame_internal/input_desktop.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 26:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 33:9 (warning) namespace 'desktop' not terminated with a closing comment [llvm-namespace-comment] /code/include/base_internal/yourgame_internal/log.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 27:29 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] 28:5 (warning) namespace 'log' not terminated with a closing comment [llvm-namespace-comment] /code/include/base_internal/yourgame_internal/mygame_external.h 21:9 (warning) header guard does not follow preferred style [llvm-header-guard] 42:32 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] /code/include/base_internal/yourgame_internal/time.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/base_internal/yourgame_internal/yourgame.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] /code/include/base_internal/yourgame_internal/yourgame_desktop.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 27:28 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] /code/include/toolbox/yourgame/gl/buffer.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 29:15 (warning) class 'Buffer' defines a destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 29:15 (warning) class 'Buffer' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 44:13 (warning) constructor does not initialize these fields: m_target, m_handle, m_usage [cppcoreguidelines-pro-type-member-init,hicpp-member-init] /code/include/toolbox/yourgame/gl/conventions.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 38:30 (warning) variable 'unifNameMvpMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 39:30 (warning) variable 'unifNameVpMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 40:30 (warning) variable 'unifNameModelMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 41:30 (warning) variable 'unifNameNormalMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 42:30 (warning) variable 'unifNameCameraPosition' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 43:30 (warning) variable 'unifNameCameraTrafo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 44:30 (warning) variable 'unifNameSkyRotationInv' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 45:30 (warning) variable 'unifNameTextureDiffuse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 46:30 (warning) variable 'unifNameTextureSkyCube' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 47:30 (warning) variable 'unifNameTextureSky' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 48:30 (warning) variable 'unifNameTextureBufferDepth' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 49:30 (warning) variable 'unifNameTextureBufferColor0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 50:30 (warning) variable 'unifNameLightAmbient' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 51:30 (warning) variable 'unifNameLightDiffuse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 52:30 (warning) variable 'unifNameLightSpecular' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 53:30 (warning) variable 'unifNameLightPosition' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 54:30 (warning) variable 'unifNameSubtexture' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] /code/include/toolbox/yourgame/gl/drawing.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 31:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 35:16 (warning) accessing fields in struct 'DrawConfig' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] 40:59 (warning) initializer for member 'textures' is redundant [readability-redundant-member-init] /code/include/toolbox/yourgame/gl/framebuffer.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 27:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 31:15 (warning) class 'Framebuffer' defines a destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 31:15 (warning) class 'Framebuffer' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 34:20 (warning) accessing fields in struct 'TextureAttachDescr' is inefficient due to padding; only needs 44 bytes but is using 48 bytes [altera-struct-pack-align] 34:20 (warning) accessing fields in struct 'TextureAttachDescr' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] 59:13 (warning) constructor does not initialize these fields: m_handle [cppcoreguidelines-pro-type-member-init,hicpp-member-init] /code/include/toolbox/yourgame/gl/geometry.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 30:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 34:15 (warning) class 'Geometry' defines a destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 34:15 (warning) class 'Geometry' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] /code/include/toolbox/yourgame/gl/lightsource.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/toolbox/yourgame/gl/loading.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 31:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 35:16 (warning) accessing fields in struct 'TextureConfig' is inefficient due to padding; only needs 38 bytes but is using 40 bytes [altera-struct-pack-align] 35:16 (warning) accessing fields in struct 'TextureConfig' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] 42:62 (warning) initializer for member 'parameteri' is redundant [readability-redundant-member-init] /code/include/toolbox/yourgame/gl/particles.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 27:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 31:15 (warning) class 'Particles' defines a destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 31:15 (warning) class 'Particles' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 31:15 (warning) destructor of 'Particles' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] 34:36 (warning) parameter 'cfg' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] /code/include/toolbox/yourgame/gl/shader.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 30:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 34:15 (warning) class 'Shader' defines a destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 34:15 (warning) class 'Shader' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 51:13 (warning) constructor does not initialize these fields: m_programHandle [cppcoreguidelines-pro-type-member-init,hicpp-member-init] /code/include/toolbox/yourgame/gl/shape.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 27:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 31:15 (warning) class 'Shape' defines a destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 31:15 (warning) class 'Shape' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 34:20 (warning) accessing fields in struct 'ArrBufferDescr' is inefficient due to padding; only needs 29 bytes but is using 40 bytes [altera-struct-pack-align] 34:20 (warning) accessing fields in struct 'ArrBufferDescr' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] 45:20 (warning) accessing fields in struct 'ElemArrBufferDescr' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] 68:13 (warning) constructor does not initialize these fields: m_elArDescr, m_vaoHandle [cppcoreguidelines-pro-type-member-init,hicpp-member-init] /code/include/toolbox/yourgame/gl/spritegrid.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 28:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 32:15 (warning) class 'SpriteGrid' defines a destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 32:15 (warning) class 'SpriteGrid' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 67:13 (warning) function 'geo' should be marked [[nodiscard]] [modernize-use-nodiscard] /code/include/toolbox/yourgame/gl/texture.h 107:13 (warning) function 'getCoords' should be marked [[nodiscard]] [modernize-use-nodiscard] 122:13 (warning) function 'getNumFrames' should be marked [[nodiscard]] [modernize-use-nodiscard] 127:13 (warning) function 'getSequenceNames' should be marked [[nodiscard]] [modernize-use-nodiscard] 136:13 (warning) function 'getGridCoords' should be marked [[nodiscard]] [modernize-use-nodiscard] 139:13 (warning) constructor does not initialize these fields: m_handle, m_target, m_unit, m_width, m_height [cppcoreguidelines-pro-type-member-init,hicpp-member-init] 146:20 (warning) accessing fields in struct 'Sequence' is inefficient due to padding; only needs 73 bytes but is using 80 bytes [altera-struct-pack-align] 146:20 (warning) accessing fields in struct 'Sequence' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] 146:20 (warning) constructor does not initialize these fields: framesInvalidated [cppcoreguidelines-pro-type-member-init,hicpp-member-init] 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 28:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 32:16 (warning) accessing fields in struct 'TextureCoords' is inefficient due to padding; only needs 41 bytes but is using 44 bytes [altera-struct-pack-align] 32:16 (warning) accessing fields in struct 'TextureCoords' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] 35:13 (warning) use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] 37:27 (warning) 2 adjacent parameters of 'TextureCoords' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] 55:19 (warning) member variable 'uMin' has public visibility [misc-non-private-member-variables-in-classes] 56:19 (warning) member variable 'uMax' has public visibility [misc-non-private-member-variables-in-classes] 57:19 (warning) member variable 'vMin' has public visibility [misc-non-private-member-variables-in-classes] 58:19 (warning) member variable 'vMax' has public visibility [misc-non-private-member-variables-in-classes] 59:17 (warning) member variable 'xMinPixel' has public visibility [misc-non-private-member-variables-in-classes] 60:17 (warning) member variable 'xMaxPixel' has public visibility [misc-non-private-member-variables-in-classes] 61:17 (warning) member variable 'yMinPixel' has public visibility [misc-non-private-member-variables-in-classes] 62:17 (warning) member variable 'yMaxPixel' has public visibility [misc-non-private-member-variables-in-classes] 63:19 (warning) member variable 'aspectRatioPixel' has public visibility [misc-non-private-member-variables-in-classes] 64:19 (warning) member variable 'aspectRatioPixelInverse' has public visibility [misc-non-private-member-variables-in-classes] 65:18 (warning) member variable 'cwRotated' has public visibility [misc-non-private-member-variables-in-classes] 68:15 (warning) class 'Texture' defines a destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 68:15 (warning) class 'Texture' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 95:13 (warning) function 'handle' should be marked [[nodiscard]] [modernize-use-nodiscard] 96:13 (warning) function 'getTarget' should be marked [[nodiscard]] [modernize-use-nodiscard] 97:13 (warning) function 'getWidth' should be marked [[nodiscard]] [modernize-use-nodiscard] 98:13 (warning) function 'getHeight' should be marked [[nodiscard]] [modernize-use-nodiscard] /code/include/toolbox/yourgame/math/camera.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 24:1 (warning) #includes are not sorted properly [llvm-include-order] 29:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/toolbox/yourgame/math/particles.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 28:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 38:15 (warning) destructor of 'Particles' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] 47:20 (warning) accessing fields in struct 'Config' is inefficient due to padding; only needs 103 bytes but is using 104 bytes [altera-struct-pack-align] 47:20 (warning) accessing fields in struct 'Config' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] 66:13 (warning) single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor,hicpp-explicit-conversions] 66:23 (warning) parameter 'cfg' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls] 74:20 (warning) member variable 'm_cfg' has public visibility [cppcoreguidelines-non-private-member-variables-in-classes,misc-non-private-member-variables-in-classes] 75:36 (warning) member variable 'm_positionData' has public visibility [cppcoreguidelines-non-private-member-variables-in-classes,misc-non-private-member-variables-in-classes] 76:32 (warning) member variable 'm_progressData' has public visibility [cppcoreguidelines-non-private-member-variables-in-classes,misc-non-private-member-variables-in-classes] 79:20 (warning) accessing fields in struct 'Part' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] /code/include/toolbox/yourgame/math/trafo.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 24:1 (warning) #includes are not sorted properly [llvm-include-order] 28:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 56:13 (warning) function 'getAxisGlobal' should be marked [[nodiscard]] [modernize-use-nodiscard] 57:13 (warning) function 'getEye' should be marked [[nodiscard]] [modernize-use-nodiscard] 58:13 (warning) function 'getRotation' should be marked [[nodiscard]] [modernize-use-nodiscard] 59:13 (warning) function 'getScale' should be marked [[nodiscard]] [modernize-use-nodiscard] /code/include/toolbox/yourgame/toolbox.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] /code/include/toolbox/yourgame/util/assetmanager.h 111:32 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 119:32 (warning) do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] 119:32 (warning) integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] 149:38 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 174:21 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 189:21 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 29:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 46:15 (warning) class 'AssetManager' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 63:37 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 76:23 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 76:30 (warning) do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] 76:30 (warning) integer to pointer cast pessimizes optimization opportunities [performance-no-int-to-ptr] 85:58 (warning) do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] 98:37 (warning) parameter 'name' is unused [misc-unused-parameters] 98:37 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 98:45 (warning) parameter 'obj' is unused [misc-unused-parameters] /code/include/toolbox/yourgame/util/image.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 27:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 31:15 (warning) class 'Image' defines a copy constructor and a copy assignment operator but does not define a destructor, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 34:24 (warning) enum 'Layout' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 70:13 (warning) function 'getData' should be marked [[nodiscard]] [modernize-use-nodiscard] 72:13 (warning) function 'getWidth' should be marked [[nodiscard]] [modernize-use-nodiscard] 74:13 (warning) function 'getHeight' should be marked [[nodiscard]] [modernize-use-nodiscard] 76:13 (warning) function 'getLayout' should be marked [[nodiscard]] [modernize-use-nodiscard] 78:13 (warning) function 'getNumChannels' should be marked [[nodiscard]] [modernize-use-nodiscard] 80:13 (warning) function 'getNumDemandedBytes' should be marked [[nodiscard]] [modernize-use-nodiscard] 83:13 (warning) constructor does not initialize these fields: m_width, m_height, m_layout [cppcoreguidelines-pro-type-member-init,hicpp-member-init] /code/include/toolbox/yourgame/util/motion.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 26:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 33:24 (warning) enum 'FlowType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 40:24 (warning) enum 'SegmentEase' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] 53:13 (warning) single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor,hicpp-explicit-conversions] 69:20 (warning) accessing fields in struct 'Segment' is inefficient due to padding; only needs 80 bytes but is using 88 bytes [altera-struct-pack-align] 69:20 (warning) accessing fields in struct 'Segment' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] 72:25 (warning) pass by value and use std::move [modernize-pass-by-value] 73:25 (warning) pass by value and use std::move [modernize-pass-by-value] 76:54 (warning) parameter 'calcFn' is passed by value and only copied once; consider moving it to avoid unnecessary copies [performance-unnecessary-value-param] 76:70 (warning) parameter 'easeFn' is passed by value and only copied once; consider moving it to avoid unnecessary copies [performance-unnecessary-value-param] 78:23 (warning) member variable 'dt' has public visibility [misc-non-private-member-variables-in-classes] 79:62 (warning) member variable 'calcFn' has public visibility [misc-non-private-member-variables-in-classes] 80:52 (warning) member variable 'easeFn' has public visibility [misc-non-private-member-variables-in-classes] 81:23 (warning) member variable 'val0' has public visibility [misc-non-private-member-variables-in-classes] 82:23 (warning) member variable 'val1' has public visibility [misc-non-private-member-variables-in-classes] 83:23 (warning) member variable 'val2' has public visibility [misc-non-private-member-variables-in-classes] 88:20 (warning) use default member initializer for 'm_t' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] 89:20 (warning) use default member initializer for 'm_direction' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] 90:20 (warning) use default member initializer for 'm_duration' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] 91:19 (warning) use default member initializer for 'm_currentValue' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] 92:18 (warning) use default member initializer for 'm_finished' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] 93:18 (warning) use default member initializer for 'm_paused' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] /code/include/toolbox/yourgame/util/physenv.h 142:25 (warning) member variable 'm_name' has public visibility [misc-non-private-member-variables-in-classes] 143:25 (warning) member 'm_body' of type 'void *const' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] 143:25 (warning) member variable 'm_body' has public visibility [misc-non-private-member-variables-in-classes] 160:24 (warning) member variable 'm_body0' has public visibility [misc-non-private-member-variables-in-classes] 161:24 (warning) member variable 'm_body1' has public visibility [misc-non-private-member-variables-in-classes] 162:19 (warning) member variable 'm_impulse' has public visibility [misc-non-private-member-variables-in-classes] 170:13 (warning) function 'involves' should be marked [[nodiscard]] [modernize-use-nodiscard] 182:13 (warning) function 'involves2' should be marked [[nodiscard]] [modernize-use-nodiscard] 193:13 (warning) single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor,hicpp-explicit-conversions] 194:24 (warning) member variable 'm_rigidBody' has public visibility [misc-non-private-member-variables-in-classes] 198:15 (warning) class 'PhysEnv' defines a destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) #includes are not sorted properly [llvm-include-order] 28:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 32:16 (warning) accessing fields in struct 'RigidBodyInfo' is inefficient due to padding; only needs 38 bytes but is using 40 bytes [altera-struct-pack-align] 32:16 (warning) accessing fields in struct 'RigidBodyInfo' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] 48:15 (warning) class 'RigidBody' defines a destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] 57:23 (warning) pass by value and use std::move [modernize-pass-by-value] 57:62 (warning) parameter 'name' is passed by value and only copied once; consider moving it to avoid unnecessary copies [performance-unnecessary-value-param] /code/include/toolbox/yourgame/util/postproc.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/toolbox_internal/yourgame_internal/gl/init.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/include/toolbox_internal/yourgame_internal/util/assets.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 31:49 (warning) variable 'manager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] /code/include/toolbox_internal/yourgame_internal/util/postproc.h 20:9 (warning) header guard does not follow preferred style [llvm-header-guard] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/quality/_build/version.cpp 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 30:20 (warning) no header providing "std::string" is directly included [misc-include-cleaner] 30:27 (warning) initialization of 'verstr' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 30:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 31:27 (warning) initialization of 'git_commit' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 31:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 32:27 (warning) initialization of 'git_date' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 32:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 33:27 (warning) initialization of 'PROJECT_NAME' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 33:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 34:27 (warning) initialization of 'CMAKE_SYSTEM' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 34:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 35:27 (warning) initialization of 'CMAKE_SYSTEM_PROCESSOR' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 35:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 36:27 (warning) initialization of 'CMAKE_HOST_SYSTEM' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 36:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 37:27 (warning) initialization of 'CMAKE_HOST_SYSTEM_PROCESSOR' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 37:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 38:27 (warning) initialization of 'CMAKE_C_COMPILER_ID' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 38:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 39:27 (warning) initialization of 'CMAKE_C_COMPILER_VERSION' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 39:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 40:27 (warning) initialization of 'CMAKE_CXX_COMPILER_ID' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 40:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 41:27 (warning) initialization of 'CMAKE_CXX_COMPILER_VERSION' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 41:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 42:27 (warning) initialization of 'CMAKE_GENERATOR' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 42:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 43:27 (warning) initialization of 'CMAKE_GENERATOR_PLATFORM' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 43:27 (warning) redundant string initialization [readability-redundant-string-init] 43:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] /code/src/audio.cpp 20:1 (warning) #includes are not sorted properly [llvm-include-order] 21:1 (warning) included header map is not used directly [misc-include-cleaner] 23:1 (warning) included header cstdint is not used directly [misc-include-cleaner] 25:1 (warning) included header valarray is not used directly [misc-include-cleaner] 26:1 (warning) included header file.h is not used directly [misc-include-cleaner] 27:1 (warning) included header log.h is not used directly [misc-include-cleaner] 36:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 40:18 (warning) 3 adjacent parameters of 'init' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] 40:22 (warning) parameter 'numSources' is unused [misc-unused-parameters] 40:38 (warning) parameter 'numChannels' is unused [misc-unused-parameters] 40:55 (warning) parameter 'sampleRate' is unused [misc-unused-parameters] 54:42 (warning) parameter 'filename' is unused [misc-unused-parameters] 59:37 (warning) parameter 'filename' is unused [misc-unused-parameters] 59:52 (warning) parameter 'loop' is unused [misc-unused-parameters] 64:22 (warning) parameter 'sourceId' is unused [misc-unused-parameters] 69:23 (warning) parameter 'sourceId' is unused [misc-unused-parameters] 69:38 (warning) parameter 'pause' is unused [misc-unused-parameters] 74:33 (warning) parameter 'sourceId' is unused [misc-unused-parameters] 74:69 (warning) parameter 'gains' is unused [misc-unused-parameters] /code/src/file.cpp 114:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 122:17 (warning) switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] 143:13 (warning) variable 'reFilePath' of type 'std::regex' (aka 'basic_regex') can be declared 'const' [misc-const-correctness] 156:13 (warning) variable 'reFilePath' of type 'std::regex' (aka 'basic_regex') can be declared 'const' [misc-const-correctness] 172:13 (warning) variable 're' of type 'std::regex' (aka 'basic_regex') can be declared 'const' [misc-const-correctness] 185:13 (warning) variable 'reFilePath' of type 'std::regex' (aka 'basic_regex') can be declared 'const' [misc-const-correctness] 199:17 (warning) switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 29:1 (warning) included header log.h is not used directly [misc-include-cleaner] 31:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 37:13 (warning) initializing non-owner 'std::FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 37:57 (warning) use 'fopen' mode 'e' to set O_CLOEXEC [android-cloexec-fopen] 38:17 (warning) implicit conversion 'std::FILE *' (aka '_IO_FILE *') -> 'bool' [readability-implicit-bool-conversion] 40:17 (warning) the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] 45:21 (warning) function 'rewind' has no error detection; 'fseek' should be used instead [bugprone-unsafe-functions,cert-msc24-c,cert-msc33-c] 46:21 (warning) the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] 46:32 (warning) 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer] 48:17 (warning) calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] 48:17 (warning) the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] 57:19 (warning) variable 'p' is not initialized [cppcoreguidelines-init-variables] 58:20 (warning) variable 'uncomp_size' is not initialized [cppcoreguidelines-init-variables] 60:18 (warning) no header providing "std::memset" is directly included [misc-include-cleaner] 62:13 (warning) variable 'status' of type 'mz_bool' (aka 'int') can be declared 'const' [misc-const-correctness] 63:18 (warning) implicit conversion 'mz_bool' (aka 'int') -> 'bool' [readability-implicit-bool-conversion] 69:18 (warning) implicit conversion 'void *' -> 'bool' [readability-implicit-bool-conversion] 77:50 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 86:13 (warning) initializing non-owner 'std::FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 86:57 (warning) use 'fopen' mode 'e' to set O_CLOEXEC [android-cloexec-fopen] 87:17 (warning) implicit conversion 'std::FILE *' (aka '_IO_FILE *') -> 'bool' [readability-implicit-bool-conversion] 89:17 (warning) the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] 91:17 (warning) calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] 91:17 (warning) the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] 99:17 (warning) implicit conversion 'DIR *' (aka '__dirstream *') -> 'bool' [readability-implicit-bool-conversion] /code/src/input.cpp 20:1 (warning) #includes are not sorted properly [llvm-include-order] 24:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 28:14 (warning) no header providing "std::map" is directly included [misc-include-cleaner] 28:55 (warning) variable 'inputStates' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 28:9 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 43:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/src/log.cpp 26:1 (warning) initialization of 'elCrashHandler' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 26:1 (warning) initialization of 'elStorage' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 26:1 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 26:1 (warning) variable 'elCrashHandler' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 26:1 (warning) variable 'elStorage' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 28:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 63:29 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] /code/src/platform_desktop_web/file.cpp 100:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 114:68 (warning) no header providing "uint8_t" is directly included [misc-include-cleaner] 140:17 (warning) the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] 185:77 (warning) no header providing "size_t" is directly included [misc-include-cleaner] 204:17 (warning) switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 222:13 (warning) variable 'reLsPattern' of type 'std::regex' (aka 'basic_regex') can be declared 'const' [misc-const-correctness] 226:13 (warning) variable 'tmp' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] 239:18 (warning) implicit conversion 'DIR *' (aka '__dirstream *') -> 'bool' [readability-implicit-bool-conversion] 245:32 (warning) variable 'ent' is not initialized [cppcoreguidelines-init-variables] 246:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 246:24 (warning) backward branch (while loop) is ID-dependent due to variable reference to 'ent' and may cause performance degradation [altera-id-dependent-backward-branch] 246:31 (warning) function is not thread safe [concurrency-mt-unsafe] 246:48 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 248:42 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 253:46 (warning) unnecessary temporary object created while calling emplace_back [hicpp-use-emplace,modernize-use-emplace] 253:58 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 256:58 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 259:58 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 262:58 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 30:1 (warning) #includes are not sorted properly [llvm-include-order] 36:17 (warning) initialization of 'basePathAbs' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 36:17 (warning) redundant string initialization [readability-redundant-string-init] 36:17 (warning) variable 'basePathAbs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 36:5 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 37:17 (warning) initialization of 'assetPathAbs' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 37:17 (warning) redundant string initialization [readability-redundant-string-init] 37:17 (warning) variable 'assetPathAbs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 37:5 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 38:17 (warning) initialization of 'projectPath' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 38:17 (warning) redundant string initialization [readability-redundant-string-init] 38:17 (warning) variable 'projectPath' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 38:5 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 60:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 72:21 (warning) variable 'exeBasePathLength' is not initialized [cppcoreguidelines-init-variables] 73:17 (warning) variable 'exePathLength' of type 'int' can be declared 'const' [misc-const-correctness] 73:59 (warning) no header providing "NULL" is directly included [misc-include-cleaner] 73:59 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 73:68 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 74:17 (warning) initializing non-owner 'char *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 74:30 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 74:30 (warning) do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] 74:38 (warning) do not manage memory manually; consider a container or a smart pointer [cppcoreguidelines-no-malloc,hicpp-no-malloc] 74:38 (warning) no header providing "malloc" is directly included [misc-include-cleaner] 76:17 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 80:17 (warning) calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] 80:17 (warning) do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] 80:17 (warning) no header providing "free" is directly included [misc-include-cleaner] 84:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 88:25 (warning) implicit conversion 'DIR *' (aka '__dirstream *') -> 'bool' [readability-implicit-bool-conversion] /code/src/platform_desktop_web/input.cpp 150:50 (warning) initialization of 'mouseButtonApiMapping' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 150:5 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 160:50 (warning) initialization of 'gamepadConnectedApiMapping' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 160:5 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 166:30 (warning) no header providing "std::pair" is directly included [misc-include-cleaner] 166:5 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 166:86 (warning) initialization of 'gamepadFirstButtonAxisIdx' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 172:34 (warning) parameter 'window' is unused [misc-unused-parameters] 172:42 (warning) 4 adjacent parameters of 'keyCallback' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] 172:55 (warning) parameter 'scancode' is unused [misc-unused-parameters] 172:81 (warning) parameter 'mods' is unused [misc-unused-parameters] 177:38 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 179:45 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 184:17 (warning) 'cursorPositionCallback' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace] 184:52 (warning) parameter 'window' is unused [misc-unused-parameters] 186:71 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 187:71 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 190:42 (warning) parameter 'window' is unused [misc-unused-parameters] 190:50 (warning) 3 adjacent parameters of 'mouseButtonCallback' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] 190:78 (warning) parameter 'mods' is unused [misc-unused-parameters] 195:38 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 197:45 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 202:37 (warning) parameter 'window' is unused [misc-unused-parameters] 204:78 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 205:78 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 208:27 (warning) 2 adjacent parameters of 'joystickCallback' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] 213:41 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 215:49 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 21:1 (warning) #includes are not sorted properly [llvm-include-order] 221:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 225:14 (warning) function 'tickInput' has cognitive complexity of 49 (threshold 25) [readability-function-cognitive-complexity] 228:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 243:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 246:21 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 27:16 (warning) no header providing "std::map" is directly included [misc-include-cleaner] 27:50 (warning) initialization of 'keyApiMapping' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 27:5 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 291:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] /code/src/platform_desktop_web/main.cpp 28:59 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] 34:5 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 37:54 (warning) statement should be inside braces [google-readability-braces-around-statements,hicpp-braces-around-statements,readability-braces-around-statements] /code/src/platform_desktop_web/yourgame.cpp 155:9 (warning) variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] 164:24 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 181:28 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] 189:28 (warning) no header providing "yourgame::log::info" is directly included [misc-include-cleaner] 193:28 (warning) no header providing "yourgame::log::info" is directly included [misc-include-cleaner] 201:18 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 203:32 (warning) no header providing "yourgame::log::error" is directly included [misc-include-cleaner] 246:17 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 246:34 (warning) no header providing "yourgame::input::geti" is directly included [misc-include-cleaner] 246:56 (warning) no header providing "yourgame::input::WINDOW_FULLSCREEN" is directly included [misc-include-cleaner] 249:100 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 254:103 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 254:97 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 255:21 (warning) implicit conversion 'GLFWwindow *' -> 'bool' [readability-implicit-bool-conversion] 262:18 (warning) implicit conversion 'GLFWwindow *' -> 'bool' [readability-implicit-bool-conversion] 274:17 (warning) multiple declarations in a single statement reduces readability [readability-isolate-declaration] 274:21 (warning) variable 'width' is not initialized [cppcoreguidelines-init-variables] 274:28 (warning) variable 'height' is not initialized [cppcoreguidelines-init-variables] 281:18 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 294:30 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 294:69 (warning) no header providing "yourgame::input::VSYNC_ON" is directly included [misc-include-cleaner] 296:17 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 307:13 (warning) use of a signed integer operand with a binary bitwise operator [hicpp-signed-bitwise] 308:33 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 334:87 (warning) no header providing "yourgame::time::getClockPeriod" is directly included [misc-include-cleaner] 341:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 34:1 (warning) included header yourgame.h is not used directly [misc-include-cleaner] 350:26 (warning) 2 adjacent parameters of 'sendCmdToEnv' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters] 350:30 (warning) parameter 'cmdId' is unused [misc-unused-parameters] 350:41 (warning) parameter 'data0' is unused [misc-unused-parameters] 350:52 (warning) parameter 'data1' is unused [misc-unused-parameters] 350:63 (warning) parameter 'data2' is unused [misc-unused-parameters] 35:1 (warning) #includes are not sorted properly [llvm-include-order] 360:13 (warning) 'auto mode' can be declared as 'const auto *mode' [llvm-qualified-auto,readability-qualified-auto] 369:47 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 385:66 (warning) no header providing "yourgame::input::MOUSE_CATCHED" is directly included [misc-include-cleaner] 49:10 (warning) variable '_wantToExit' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 50:17 (warning) variable '_window' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 50:17 (warning) variable '_window' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] 50:27 (warning) no header providing "NULL" is directly included [misc-include-cleaner] 50:27 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 52:46 (warning) parameter 'window' is unused [misc-unused-parameters] 54:24 (warning) no header providing "yourgame::log::debug" is directly included [misc-include-cleaner] 56:62 (warning) no header providing "yourgame::input::WINDOW_WIDTH" is directly included [misc-include-cleaner] 57:62 (warning) no header providing "yourgame::input::WINDOW_HEIGHT" is directly included [misc-include-cleaner] 58:62 (warning) no header providing "yourgame::input::WINDOW_WIDTH_INVERSE" is directly included [misc-include-cleaner] 60:62 (warning) no header providing "yourgame::input::WINDOW_HEIGHT_INVERSE" is directly included [misc-include-cleaner] 62:62 (warning) no header providing "yourgame::input::WINDOW_ASPECT_RATIO" is directly included [misc-include-cleaner] 64:62 (warning) no header providing "yourgame::input::WINDOW_ASPECT_RATIO_INVERSE" is directly included [misc-include-cleaner] 70:24 (warning) no header providing "yourgame::log::error" is directly included [misc-include-cleaner] /code/src/time.cpp 20:1 (warning) #includes are not sorted properly [llvm-include-order] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 29:20 (warning) variable 'clockPeriod' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 30:20 (warning) variable 'deltaTimeS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 31:51 (warning) initialization of 'lastNowTime' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 31:51 (warning) variable 'lastNowTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 32:51 (warning) initialization of 'initTime' with static storage duration may throw an exception that cannot be caught [cert-err58-cpp] 32:51 (warning) variable 'initTime' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 37:27 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 38:27 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 46:13 (warning) variable 'duration' of type 'std::chrono::duration' can be declared 'const' [misc-const-correctness] 53:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 70:13 (warning) variable 'duration' of type 'std::chrono::duration' can be declared 'const' [misc-const-correctness] /code/src/toolbox/gl/buffer.cpp 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 29:20 (warning) variable 'handle' is not initialized [cppcoreguidelines-init-variables] 42:13 (warning) do not use 'else' after 'return' [llvm-else-after-return,readability-else-after-return] 44:17 (warning) initializing non-owner 'Buffer *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 44:17 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 57:22 (warning) method 'bind' can be made const [readability-make-member-function-const] 62:22 (warning) method 'unbindTarget' can be made const [readability-make-member-function-const] 67:22 (warning) method 'bufferData' can be made const [readability-make-member-function-const] /code/src/toolbox/gl/conventions.cpp 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 36:23 (warning) variable 'unifNameMvpMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 37:23 (warning) variable 'unifNameVpMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 38:23 (warning) variable 'unifNameModelMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 39:23 (warning) variable 'unifNameNormalMatrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 40:23 (warning) variable 'unifNameCameraPosition' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 41:23 (warning) variable 'unifNameCameraTrafo' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 42:23 (warning) variable 'unifNameSkyRotationInv' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 43:23 (warning) variable 'unifNameTextureDiffuse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 44:23 (warning) variable 'unifNameTextureSkyCube' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 45:23 (warning) variable 'unifNameTextureSky' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 46:23 (warning) variable 'unifNameTextureBufferDepth' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 47:23 (warning) variable 'unifNameTextureBufferColor0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 48:23 (warning) variable 'unifNameLightAmbient' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 49:23 (warning) variable 'unifNameLightDiffuse' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 50:23 (warning) variable 'unifNameLightSpecular' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 51:23 (warning) variable 'unifNameLightPosition' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 52:23 (warning) variable 'unifNameSubtexture' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] /code/src/toolbox/gl/drawing.cpp 104:17 (warning) implicit conversion 'yourgame::gl::Shader *' -> 'bool' [readability-implicit-bool-conversion] 113:17 (warning) implicit conversion 'yourgame::gl::Texture *' -> 'bool' [readability-implicit-bool-conversion] 117:26 (warning) no header providing "std::fpclassify" is directly included [misc-include-cleaner] 117:47 (warning) no header providing "FP_ZERO" is directly included [misc-include-cleaner] 132:13 (warning) uninitialized record type: 'screenPos' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] 134:17 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] 135:44 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 137:17 (warning) use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 137:17 (warning) variable 'windowWidth' of type 'float' can be declared 'const' [misc-const-correctness] 138:17 (warning) use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 138:17 (warning) variable 'windowHeight' of type 'float' can be declared 'const' [misc-const-correctness] 142:33 (warning) no header providing "yourgame::math::Trafo" is directly included [misc-include-cleaner] 144:59 (warning) no header providing "yourgame::math::Axis" is directly included [misc-include-cleaner] 152:37 (warning) no header providing "glm::ortho" is directly included [misc-include-cleaner] 173:18 (warning) implicit conversion 'yourgame::gl::Texture *' -> 'bool' [readability-implicit-bool-conversion] 173:30 (warning) implicit conversion 'yourgame::math::Camera *' -> 'bool' [readability-implicit-bool-conversion] 178:13 (warning) variable 'isCubemap' of type 'bool' can be declared 'const' [misc-const-correctness] 190:31 (warning) no header providing "yourgame::gl::Lightsource" is directly included [misc-include-cleaner] 197:17 (warning) implicit conversion 'yourgame::math::Trafo *' -> 'bool' [readability-implicit-bool-conversion] 211:27 (warning) variable 'depthMask' is not initialized [cppcoreguidelines-init-variables] 24:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 28:42 (warning) no header providing "yourgame::gl::Geometry" is directly included [misc-include-cleaner] 30:18 (warning) implicit conversion 'const yourgame::gl::Geometry *' -> 'bool' [readability-implicit-bool-conversion] 36:17 (warning) implicit conversion 'yourgame::gl::Shader *' -> 'bool' [readability-implicit-bool-conversion] 38:23 (warning) variable 'unif' is not initialized [cppcoreguidelines-init-variables] 44:32 (warning) implicit conversion 'yourgame::math::Camera *' -> 'bool' [readability-implicit-bool-conversion] 46:64 (warning) no header providing "glm::value_ptr" is directly included [misc-include-cleaner] 53:64 (warning) no header providing "glm::value_ptr" is directly included [misc-include-cleaner] 60:43 (warning) no header providing "glm::inverseTranspose" is directly included [misc-include-cleaner] 60:65 (warning) no header providing "glm::mat3" is directly included [misc-include-cleaner] 61:64 (warning) no header providing "glm::value_ptr" is directly included [misc-include-cleaner] 74:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 76:21 (warning) implicit conversion 'yourgame::gl::Texture *' -> 'bool' [readability-implicit-bool-conversion] 93:14 (warning) no header providing "std::array" is directly included [misc-include-cleaner] 94:61 (warning) no header providing "yourgame::gl::TextureCoords" is directly included [misc-include-cleaner] 96:41 (warning) 2 adjacent parameters of 'drawSprite' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] 98:41 (warning) 2 adjacent parameters of 'drawSprite' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] /code/src/toolbox/gl/framebuffer.cpp 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 26:103 (warning) the parameter 'texAttachDescrs' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 26:76 (warning) no header providing "std::vector" is directly included [misc-include-cleaner] 28:13 (warning) initializing non-owner 'Framebuffer *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 28:13 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 35:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 37:17 (warning) no header providing "yourgame::gl::Texture" is directly included [misc-include-cleaner] 60:17 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 69:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 71:17 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 76:27 (warning) method 'bind' can be made const [readability-make-member-function-const] 81:27 (warning) method 'unbindTarget' can be made static [readability-convert-member-functions-to-static] 88:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] /code/src/toolbox/gl/geometry.cpp 110:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 110:34 (warning) backward branch (for loop) is ID-dependent due to variable reference to 'numArDescrs' and may cause performance degradation [altera-id-dependent-backward-branch] 118:54 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 131:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 139:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 28:13 (warning) returning a newly created resource of type 'Geometry *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] 33:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 35:17 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 38:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 40:17 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 44:39 (warning) no header providing "std::string" is directly included [misc-include-cleaner] 44:46 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 46:18 (warning) implicit conversion 'size_type' (aka 'unsigned long') -> 'bool' [readability-implicit-bool-conversion] 48:17 (warning) no header providing "yourgame::gl::Buffer" is directly included [misc-include-cleaner] 49:21 (warning) implicit conversion 'Buffer *' -> 'bool' [readability-implicit-bool-conversion] 51:43 (warning) no header providing "std::pair" is directly included [misc-include-cleaner] 59:47 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 69:45 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 70:38 (warning) no header providing "std::vector" is directly included [misc-include-cleaner] 70:45 (warning) no header providing "yourgame::gl::Shape" is directly included [misc-include-cleaner] 70:68 (warning) the parameter 'arDescrs' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 71:58 (warning) the parameter 'arBufferNames' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 73:45 (warning) the parameter 'elArBufferName' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 80:18 (warning) implicit conversion 'size_type' (aka 'unsigned long') -> 'bool' [readability-implicit-bool-conversion] 83:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 85:21 (warning) 'push_back' is called inside a loop; consider pre-allocating the container capacity before the loop [performance-inefficient-vector-operation] 89:21 (warning) implicit conversion 'Shape *' -> 'bool' [readability-implicit-bool-conversion] 99:121 (warning) the parameter 'bufferName' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 99:53 (warning) the parameter 'shapeName' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] /code/src/toolbox/gl/init.cpp 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] /code/src/toolbox/gl/lightsource.cpp 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 26:14 (warning) no header providing "std::array" is directly included [misc-include-cleaner] /code/src/toolbox/gl/loading.cpp 112:29 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 114:33 (warning) variable 'rotated' of type 'bool' can be declared 'const' [misc-const-correctness] 115:37 (warning) variable 'pixelWidth' is not initialized [cppcoreguidelines-init-variables] 116:37 (warning) variable 'pixelHeight' is not initialized [cppcoreguidelines-init-variables] 151:29 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 153:33 (warning) variable 'rotated' of type 'bool' can be declared 'const' [misc-const-correctness] 154:37 (warning) variable 'pixelWidth' is not initialized [cppcoreguidelines-init-variables] 155:37 (warning) variable 'pixelHeight' is not initialized [cppcoreguidelines-init-variables] 197:37 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 237:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 239:22 (warning) the variable 'f' is copy-constructed from a const reference but is only used as const reference; consider making it a const reference [performance-unnecessary-copy-initialization] 246:21 (warning) implicit conversion 'yourgame::util::Image *' -> 'bool' [readability-implicit-bool-conversion] 263:21 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 268:21 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 276:28 (warning) 2 adjacent parameters of 'loadShader' of similar type ('const std::vector> &') are easily swapped by mistake [bugprone-easily-swappable-parameters] 276:9 (warning) no header providing "yourgame::gl::Shader" is directly included [misc-include-cleaner] 282:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 286:17 (warning) variable 'shdrStr' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] 287:29 (warning) use emplace_back instead of push_back [hicpp-use-emplace,modernize-use-emplace] 287:44 (warning) no header providing "std::make_pair" is directly included [misc-include-cleaner] 293:39 (warning) 2 adjacent parameters of 'loadShaderFromStrings' of similar type ('const std::vector> &') are easily swapped by mistake [bugprone-easily-swappable-parameters] 300:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 307:18 (warning) implicit conversion 'Shader *' -> 'bool' [readability-implicit-bool-conversion] 309:32 (warning) no header providing "yourgame::log::error" is directly included [misc-include-cleaner] 315:9 (warning) no header providing "yourgame::gl::Geometry" is directly included [misc-include-cleaner] 318:28 (warning) no header providing "yourgame::log::debug" is directly included [misc-include-cleaner] 321:17 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 326:13 (warning) variable 'objStr' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] 328:25 (warning) redundant string initialization [readability-redundant-string-init] 332:21 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] 343:19 (warning) function 'loadGeometryFromStrings' has cognitive complexity of 46 (threshold 25) [readability-function-cognitive-complexity] 34:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 352:32 (warning) no header providing "yourgame::log::error" is directly included [misc-include-cleaner] 386:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 38:18 (warning) function 'loadTexture' has cognitive complexity of 70 (threshold 25) [readability-function-cognitive-complexity] 38:9 (warning) no header providing "yourgame::gl::Texture" is directly included [misc-include-cleaner] 390:21 (warning) variable 'materialId' of type 'int' can be declared 'const' [misc-const-correctness] 398:50 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 398:79 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 399:50 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 400:50 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 406:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 407:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 408:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 414:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 414:84 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 415:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 416:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 420:33 (warning) the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] 422:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 422:85 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 423:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 424:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 428:33 (warning) the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] 430:59 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 430:89 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 431:59 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 443:46 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 44:25 (warning) no header providing "uint8_t" is directly included [misc-include-cleaner] 455:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 457:21 (warning) variable 'materialId' of type 'int' can be declared 'const' [misc-const-correctness] 465:50 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 465:79 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 466:50 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 467:50 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 468:53 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 468:80 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 469:53 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 470:53 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 473:33 (warning) the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] 475:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 475:85 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 476:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 477:57 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 47:29 (warning) no header providing "yourgame::util::Image" is directly included [misc-include-cleaner] 481:33 (warning) the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty] 483:59 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 483:89 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 484:59 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 496:50 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 50:17 (warning) implicit conversion 'yourgame::util::Image *' -> 'bool' [readability-implicit-bool-conversion] 512:25 (warning) no header providing "yourgame::gl::Shape" is directly included [misc-include-cleaner] 513:62 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 513:70 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 514:59 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 514:67 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 518:55 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 519:57 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 520:63 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 521:68 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 524:60 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 525:78 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 525:86 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 526:31 (warning) use emplace_back instead of push_back [hicpp-use-emplace,modernize-use-emplace] 530:65 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 531:81 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 531:89 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 532:31 (warning) use emplace_back instead of push_back [hicpp-use-emplace,modernize-use-emplace] 536:95 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 539:92 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 57:34 (warning) no header providing "std::pair" is directly included [misc-include-cleaner] 74:17 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 78:32 (warning) no header providing "yourgame::log::warn" is directly included [misc-include-cleaner] 82:17 (warning) implicit conversion 'Texture *' -> 'bool' [readability-implicit-bool-conversion] 82:28 (warning) the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty] 88:21 (warning) implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion] /code/src/toolbox/gl/particles.cpp 20:1 (warning) #includes are not sorted properly [llvm-include-order] 20:1 (warning) included header glm.hpp is not used directly [misc-include-cleaner] 24:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 28:68 (warning) no header providing "yourgame::gl::Geometry" is directly included [misc-include-cleaner] 30:18 (warning) implicit conversion 'yourgame::gl::Geometry *' -> 'bool' [readability-implicit-bool-conversion] 35:13 (warning) initializing non-owner 'Particles *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 35:13 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 37:13 (warning) use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 37:65 (warning) no header providing "glm::vec4" is directly included [misc-include-cleaner] 41:119 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 41:127 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 42:122 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 42:130 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 54:29 (warning) no header providing "yourgame::math::Particles" is directly included [misc-include-cleaner] 55:47 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 56:47 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 65:20 (warning) narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] /code/src/toolbox/gl/shader.cpp 100:29 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 103:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 118:23 (warning) variable 'unif' is not initialized [cppcoreguidelines-init-variables] 158:13 (warning) initializing non-owner 'Shader *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 158:13 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 168:33 (warning) no header providing "yourgame::gl::Lightsource" is directly included [misc-include-cleaner] 168:75 (warning) no header providing "yourgame::math::Camera" is directly included [misc-include-cleaner] 172:19 (warning) variable 'unif' is not initialized [cppcoreguidelines-init-variables] 173:17 (warning) implicit conversion 'Lightsource *' -> 'bool' [readability-implicit-bool-conversion] 178:43 (warning) 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer] 184:43 (warning) 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer] 190:43 (warning) 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer] 196:43 (warning) 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer] 200:17 (warning) implicit conversion 'yourgame::math::Camera *' -> 'bool' [readability-implicit-bool-conversion] 205:64 (warning) no header providing "glm::value_ptr" is directly included [misc-include-cleaner] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 218:13 (warning) variable 'unifName' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] 225:13 (warning) do not use 'else' after 'return' [llvm-else-after-return,readability-else-after-return] 227:17 (warning) variable 'unifLoc' of type 'GLint' (aka 'int') can be declared 'const' [misc-const-correctness] 24:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 34:52 (warning) no header providing "NULL" is directly included [misc-include-cleaner] 34:52 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 37:23 (warning) variable 'status' is not initialized [cppcoreguidelines-init-variables] 41:21 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] 42:55 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 42:61 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 43:33 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 52:30 (warning) 3 adjacent parameters of 'make' of similar type ('const std::vector> &') are easily swapped by mistake [bugprone-easily-swappable-parameters] 52:41 (warning) no header providing "std::vector" is directly included [misc-include-cleaner] 52:53 (warning) no header providing "std::pair" is directly included [misc-include-cleaner] 61:24 (warning) variable 'handle' is not initialized [cppcoreguidelines-init-variables] 64:21 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 73:13 (warning) variable 'progHandle' of type 'GLuint' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] 75:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 80:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 86:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 94:19 (warning) variable 'linkStatus' is not initialized [cppcoreguidelines-init-variables] 98:17 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] 99:55 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 99:61 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] /code/src/toolbox/gl/shape.cpp 101:93 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 105:21 (warning) method 'drawInstanced' can be made const [readability-make-member-function-const] 108:102 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 26:33 (warning) no header providing "std::vector" is directly included [misc-include-cleaner] 27:40 (warning) no header providing "yourgame::gl::Buffer" is directly included [misc-include-cleaner] 36:13 (warning) initializing non-owner 'Shape *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 36:13 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 42:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 68:21 (warning) method 'addArrBuf' can be made const [readability-make-member-function-const] 72:17 (warning) implicit conversion 'Buffer *' -> 'bool' [readability-implicit-bool-conversion] 98:21 (warning) method 'draw' can be made const [readability-make-member-function-const] /code/src/toolbox/gl/spritegrid.cpp 100:47 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 101:47 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 104:47 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 108:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 109:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 110:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 111:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 112:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 113:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 114:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 115:45 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 147:29 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 148:28 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 152:29 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 164:18 (warning) implicit conversion 'Geometry *' -> 'bool' [readability-implicit-bool-conversion] 166:39 (warning) no header providing "yourgame::gl::Geometry" is directly included [misc-include-cleaner] 168:58 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 169:59 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 170:64 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 171:60 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 172:66 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 174:17 (warning) variable 'arBufferNames' of type 'std::vector' (aka 'vector>') can be declared 'const' [misc-const-correctness] 176:17 (warning) variable 'arDescrs' of type 'std::vector' can be declared 'const' [misc-const-correctness] 176:43 (warning) no header providing "yourgame::gl::Shape" is directly included [misc-include-cleaner] 177:70 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 177:78 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 178:68 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 178:76 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 179:71 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 179:79 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 180:67 (warning) C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] 180:75 (warning) use nullptr [hicpp-use-nullptr,modernize-use-nullptr] 182:98 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 188:42 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 189:43 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 190:48 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 191:44 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 192:42 (warning) narrowing conversion from 'unsigned long' to signed type 'GLsizeiptr' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 194:82 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 27:21 (warning) use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] 29:50 (warning) no header providing "yourgame::gl::Texture" is directly included [misc-include-cleaner] 30:41 (warning) no header providing "std::vector" is directly included [misc-include-cleaner] 30:53 (warning) no header providing "std::string" is directly included [misc-include-cleaner] 31:30 (warning) 3 adjacent parameters of 'make' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters] 35:18 (warning) implicit conversion 'const yourgame::gl::Texture *' -> 'bool' [readability-implicit-bool-conversion] 41:13 (warning) variable 'numTiles' of type 'unsigned int' can be declared 'const' [misc-const-correctness] 47:45 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] 48:50 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] 49:48 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] 50:48 (warning) performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] 55:13 (warning) variable 'tileAspect' of type 'float' can be declared 'const' [misc-const-correctness] 59:57 (warning) conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] 63:41 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 73:43 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 82:13 (warning) variable 'orgZ' of type 'GLfloat' (aka 'float') can be declared 'const' [misc-const-correctness] 84:13 (warning) no header providing "size_t" is directly included [misc-include-cleaner] 89:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 89:29 (warning) backward branch (for loop) is ID-dependent due to variable reference to 'numTiles' and may cause performance degradation [altera-id-dependent-backward-branch] 97:47 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] /code/src/toolbox/gl/texture.cpp 103:41 (warning) no header providing "std::string" is directly included [misc-include-cleaner] 103:48 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 114:13 (warning) variable 'reSequence' of type 'std::regex' (aka 'basic_regex') can be declared 'const' [misc-const-correctness] 119:17 (warning) variable 'seqFrameIdx' of type 'int' can be declared 'const' [misc-const-correctness] 119:40 (warning) no header providing "std::stoi" is directly included [misc-include-cleaner] 127:54 (warning) the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 138:59 (warning) the parameter 'sequenceName' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 148:21 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 155:17 (warning) variable 'sizeV' of type 'int' can be declared 'const' [misc-const-correctness] 162:17 (warning) variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] 170:47 (warning) the parameter 'sequenceName' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 173:70 (warning) narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 179:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 181:17 (warning) 'push_back' is called inside a loop; consider pre-allocating the container capacity before the loop [performance-inefficient-vector-operation] 186:32 (warning) function 'getGridCoords' is within a recursive call chain [misc-no-recursion] 193:13 (warning) variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] 193:64 (warning) narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 193:77 (warning) narrowing conversion from 'GLsizei' (aka 'int') to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 194:13 (warning) variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] 194:24 (warning) narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 194:25 (warning) result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] 194:80 (warning) narrowing conversion from 'GLsizei' (aka 'int') to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 195:13 (warning) variable 'width' of type 'int' can be declared 'const' [misc-const-correctness] 196:13 (warning) variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 24:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 28:32 (warning) 2 adjacent parameters of 'make' of similar type ('GLenum') are easily swapped by mistake [bugprone-easily-swappable-parameters] 30:43 (warning) no header providing "std::vector" is directly included [misc-include-cleaner] 30:55 (warning) no header providing "std::pair" is directly included [misc-include-cleaner] 32:20 (warning) variable 'handle' is not initialized [cppcoreguidelines-init-variables] 37:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 42:13 (warning) initializing non-owner 'Texture *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 42:13 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] /code/src/toolbox/math/camera.cpp 115:40 (warning) 2 adjacent parameters of 'rotateFirstPerson' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] 118:39 (warning) no header providing "glm::clamp" is directly included [misc-include-cleaner] 120:58 (warning) no header providing "yourgame::math::Axis" is directly included [misc-include-cleaner] 124:64 (warning) 2 adjacent parameters of 'castRay' of similar type ('glm::vec3 &') are easily swapped by mistake [bugprone-easily-swappable-parameters] 124:69 (warning) no header providing "glm::vec3" is directly included [misc-include-cleaner] 126:13 (warning) variable 'viewX' of type 'float' can be declared 'const' [misc-const-correctness] 127:13 (warning) variable 'viewY' of type 'float' can be declared 'const' [misc-const-correctness] 131:17 (warning) variable 'tanFovyHalf' of type 'float' can be declared 'const' [misc-const-correctness] 131:42 (warning) no header providing "std::tan" is directly included [misc-include-cleaner] 132:17 (warning) variable 'dirX' of type 'float' can be declared 'const' [misc-const-correctness] 133:17 (warning) variable 'dirY' of type 'float' can be declared 'const' [misc-const-correctness] 134:17 (warning) variable 'dirZ' of type 'float' can be declared 'const' [misc-const-correctness] 135:31 (warning) no header providing "glm::normalize" is directly included [misc-include-cleaner] 140:17 (warning) variable 'orgX' of type 'float' can be declared 'const' [misc-const-correctness] 141:17 (warning) variable 'orgY' of type 'float' can be declared 'const' [misc-const-correctness] 142:17 (warning) variable 'orgZ' of type 'float' can be declared 'const' [misc-const-correctness] 152:31 (warning) no header providing "glm::inverse" is directly included [misc-include-cleaner] 170:29 (warning) no header providing "glm::perspective" is directly included [misc-include-cleaner] 172:13 (warning) do not use 'else' after 'return' [llvm-else-after-return,readability-else-after-return] 174:17 (warning) variable 'heightHalf' of type 'float' can be declared 'const' [misc-const-correctness] 175:17 (warning) variable 'widthHalf' of type 'float' can be declared 'const' [misc-const-correctness] 176:29 (warning) no header providing "glm::ortho" is directly included [misc-include-cleaner] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 20:1 (warning) included header glm.hpp is not used directly [misc-include-cleaner] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 27:14 (warning) no header providing "glm::mat4" is directly included [misc-include-cleaner] 44:9 (warning) no header providing "yourgame::math::Trafo" is directly included [misc-include-cleaner] 50:42 (warning) no header providing "yourgame::math::Projection" is directly included [misc-include-cleaner] 59:37 (warning) 4 adjacent parameters of 'setPerspective' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] 69:38 (warning) 4 adjacent parameters of 'setOrthographic' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters] /code/src/toolbox/math/particles.cpp 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 26:20 (warning) random number generator seeded with a default argument will generate a predictable sequence of values [cert-msc32-c,cert-msc51-cpp] 29:29 (warning) no header providing "std::uniform_real_distribution" is directly included [misc-include-cleaner] 39:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 48:40 (warning) use emplace_back instead of push_back [hicpp-use-emplace,modernize-use-emplace] 55:36 (warning) use emplace_back instead of push_back [hicpp-use-emplace,modernize-use-emplace] 65:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 65:18 (warning) no header providing "size_t" is directly included [misc-include-cleaner] 72:17 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 74:21 (warning) variable 'dt' of type 'float' can be declared 'const' [misc-const-correctness] 83:13 (warning) uninitialized record type: 'p' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] 86:27 (warning) no header providing "glm::normalize" is directly included [misc-include-cleaner] /code/src/toolbox/math/trafo.cpp 123:51 (warning) 2 adjacent parameters of 'pointTo' of similar type ('const glm::vec3 &') are easily swapped by mistake [bugprone-easily-swappable-parameters] 127:26 (warning) no header providing "glm::quatLookAtLH" is directly included [misc-include-cleaner] 132:50 (warning) 2 adjacent parameters of 'lookAt' of similar type ('const glm::vec3 &') are easily swapped by mistake [bugprone-easily-swappable-parameters] 135:26 (warning) no header providing "glm::quatLookAt" is directly included [misc-include-cleaner] 144:33 (warning) no header providing "glm::clamp" is directly included [misc-include-cleaner] 145:35 (warning) no header providing "glm::lerp" is directly included [misc-include-cleaner] 146:35 (warning) no header providing "glm::lerp" is directly included [misc-include-cleaner] 157:30 (warning) no header providing "glm::translate" is directly included [misc-include-cleaner] 157:65 (warning) no header providing "glm::scale" is directly included [misc-include-cleaner] 188:26 (warning) method 'getAxisGlobal' can be made static [readability-convert-member-functions-to-static] 194:24 (warning) avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] 197:24 (warning) avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] 200:24 (warning) avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] 22:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 26:14 (warning) no header providing "glm::mat4" is directly included [misc-include-cleaner] 32:52 (warning) no header providing "yourgame::math::Axis" is directly included [misc-include-cleaner] 35:34 (warning) no header providing "glm::angleAxis" is directly included [misc-include-cleaner] 39:51 (warning) no header providing "glm::vec3" is directly included [misc-include-cleaner] 41:56 (warning) no header providing "glm::normalize" is directly included [misc-include-cleaner] 66:34 (warning) do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] 67:34 (warning) do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] 68:34 (warning) do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] /code/src/toolbox/util/assets.cpp 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 29:13 (warning) static objects are disallowed; if possible, use a constexpr constructor instead [fuchsia-statically-constructed-objects] 29:42 (warning) variable 'manager' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] /code/src/toolbox/util/image.cpp 111:13 (warning) multiple declarations in a single statement reduces readability [readability-isolate-declaration] 111:17 (warning) variable 'x' is not initialized [cppcoreguidelines-init-variables] 111:20 (warning) variable 'y' is not initialized [cppcoreguidelines-init-variables] 111:23 (warning) variable 'comp' is not initialized [cppcoreguidelines-init-variables] 113:35 (warning) narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 120:52 (warning) parameter 'layout' is unused [misc-unused-parameters] 133:13 (warning) variable 'numPixels' of type 'unsigned int' can be declared 'const' [misc-const-correctness] 135:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 135:38 (warning) backward branch (for loop) is ID-dependent due to variable reference to 'numPixels' and may cause performance degradation [altera-id-dependent-backward-branch] 140:37 (warning) accessing an element of the container does not require a call to 'data()'; did you mean to use 'operator[]'? [readability-simplify-subscript-expr] 140:37 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 141:24 (warning) accessing an element of the container does not require a call to 'data()'; did you mean to use 'operator[]'? [readability-simplify-subscript-expr] 141:24 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 141:47 (warning) accessing an element of the container does not require a call to 'data()'; did you mean to use 'operator[]'? [readability-simplify-subscript-expr] 141:47 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 142:24 (warning) accessing an element of the container does not require a call to 'data()'; did you mean to use 'operator[]'? [readability-simplify-subscript-expr] 142:24 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 142:47 (warning) accessing an element of the container does not require a call to 'data()'; did you mean to use 'operator[]'? [readability-simplify-subscript-expr] 142:47 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 143:24 (warning) accessing an element of the container does not require a call to 'data()'; did you mean to use 'operator[]'? [readability-simplify-subscript-expr] 143:24 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 143:47 (warning) accessing an element of the container does not require a call to 'data()'; did you mean to use 'operator[]'? [readability-simplify-subscript-expr] 143:47 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 161:13 (warning) variable 'numBytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] 161:31 (warning) performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 162:38 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 192:20 (warning) performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 25:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 29:47 (warning) no header providing "uint8_t" is directly included [misc-include-cleaner] 30:41 (warning) no header providing "size_t" is directly included [misc-include-cleaner] 34:46 (warning) implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion] 36:17 (warning) variable 'width' is not initialized [cppcoreguidelines-init-variables] 37:17 (warning) variable 'height' is not initialized [cppcoreguidelines-init-variables] 38:17 (warning) variable 'numChannels' is not initialized [cppcoreguidelines-init-variables] 39:13 (warning) 'auto img' can be declared as 'auto *img' [llvm-qualified-auto,readability-qualified-auto] 40:46 (warning) narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 46:46 (warning) implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion] 48:17 (warning) implicit conversion 'stbi_uc *' (aka 'unsigned char *') -> 'bool' [readability-implicit-bool-conversion] 50:17 (warning) initializing non-owner 'Image *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 50:17 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 55:50 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 61:13 (warning) do not use 'else' after 'return' [llvm-else-after-return,readability-else-after-return] 77:13 (warning) variable 'numBytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] 77:31 (warning) performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 79:13 (warning) initializing non-owner 'Image *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 79:13 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 83:48 (warning) do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] 97:13 (warning) variable 'numValues' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] 97:32 (warning) performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] 99:13 (warning) initializing non-owner 'Image *' with a newly created 'gsl::owner<>' [cppcoreguidelines-owning-memory] 99:13 (warning) use auto when initializing with new to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] /code/src/toolbox/util/motion.cpp 115:23 (warning) method 'val' can be made const [readability-make-member-function-const] 138:22 (warning) method 'isFinished' can be made const [readability-make-member-function-const] 143:22 (warning) method 'isPaused' can be made const [readability-make-member-function-const] 148:22 (warning) method 'getDirection' can be made const [readability-make-member-function-const] 153:38 (warning) parameter 't' is unused [misc-unused-parameters] 163:14 (warning) no header providing "std::function" is directly included [misc-include-cleaner] 190:51 (warning) parameter 'dt' is unused [misc-unused-parameters] 202:13 (warning) variable 't01' of type 'float' can be declared 'const' [misc-const-correctness] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 213:13 (warning) variable 't01' of type 'float' can be declared 'const' [misc-const-correctness] 224:13 (warning) variable 't01' of type 'float' can be declared 'const' [misc-const-correctness] 230:13 (warning) variable 't01' of type 'float' can be declared 'const' [misc-const-correctness] 236:13 (warning) variable 't01' of type 'float' can be declared 'const' [misc-const-correctness] 237:13 (warning) variable 't01s' of type 'float' can be declared 'const' [misc-const-correctness] 23:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 97:13 (warning) kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops] 99:26 (warning) narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] /code/src/toolbox/util/postproc.cpp 104:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 112:22 (warning) implicit conversion 'yourgame::gl::Framebuffer *' -> 'bool' [readability-implicit-bool-conversion] 131:22 (warning) implicit conversion 'yourgame::gl::Framebuffer *' -> 'bool' [readability-implicit-bool-conversion] 151:21 (warning) variable 'aspectFramebuf' of type 'float' can be declared 'const' [misc-const-correctness] 151:44 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 151:75 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 155:25 (warning) variable 'viewWidth' of type 'float' can be declared 'const' [misc-const-correctness] 157:29 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 159:29 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 160:29 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 164:25 (warning) variable 'viewHeight' of type 'float' can be declared 'const' [misc-const-correctness] 167:29 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 168:29 (warning) C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] 169:29 (warning) C-style casts are discouraged; use static_cast [google-readability-casting] 176:21 (warning) do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] 177:55 (warning) do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] 181:29 (warning) use of a signed integer operand with a binary bitwise operator [hicpp-signed-bitwise] 190:38 (warning) no header providing "glm::ortho" is directly included [misc-include-cleaner] 193:21 (warning) use auto when initializing with a template cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] 195:25 (warning) implicit conversion 'yourgame::gl::Shader *' -> 'bool' [readability-implicit-bool-conversion] 209:102 (warning) no header providing "yourgame::gl::Geometry" is directly included [misc-include-cleaner] 20:10 (warning) inclusion of deprecated C++ header 'stdint.h'; consider using 'cstdint' instead [hicpp-deprecated-headers,modernize-deprecated-headers] 20:1 (warning) #includes are not sorted properly [llvm-include-order] 216:1 (warning) nested namespaces can be concatenated [modernize-concat-nested-namespaces] 222:25 (warning) 2 adjacent parameters of 'resize' of similar type ('uint32_t') are easily swapped by mistake [bugprone-easily-swappable-parameters] 234:21 (warning) narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 235:21 (warning) narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 255:99 (warning) implicit conversion 'yourgame::gl::Framebuffer *' -> 'bool' [readability-implicit-bool-conversion] 262:21 (warning) implicit conversion 'yourgame::gl::Framebuffer *' -> 'bool' [readability-implicit-bool-conversion] 264:21 (warning) deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] 31:32 (warning) variable 'g_framebuf' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 31:32 (warning) variable 'g_framebuf' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] 32:27 (warning) variable 'g_postprocShader' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 32:27 (warning) variable 'g_postprocShader' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] 33:14 (warning) variable 'g_framebufWidth' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 34:14 (warning) variable 'g_framebufHeight' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 35:14 (warning) variable 'g_framebufWidthActual' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 36:14 (warning) variable 'g_framebufHeightActual' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] 97:32 (warning) narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] 97:55 (warning) narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'GLsizei' (aka 'int') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions]