2026-08-02 21:38 ftp://ftp.de.debian.org/debian/pool/main/l/laszip/laszip_3.5.0+really3.5.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=microsoft_sal --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.12.100+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.4.0 compiler: g++ (GCC) 16.1.0 cppcheck: head 2.21.0 head-info: cb9f2a2 (2026-07-31 11:53:12 +0200) count: 87 87 elapsed-time: 0.8 0.8 head-timing-info: old-timing-info: head results: LASzip-3.5.0/dll/laszip_api.c:310:40: style:inconclusive: Function 'laszip_get_point_count' argument 2 names different: declaration 'count' definition 'point_count'. [funcArgNamesDifferent] LASzip-3.5.0/dll/laszip_api.h:365:40: note: Function 'laszip_get_point_count' argument 2 names different: declaration 'count' definition 'point_count'. LASzip-3.5.0/dll/laszip_api.c:310:40: note: Function 'laszip_get_point_count' argument 2 names different: declaration 'count' definition 'point_count'. LASzip-3.5.0/dll/laszip_api.c:898:40: style:inconclusive: Function 'laszip_has_spatial_index' argument 2 names different: declaration 'is_indexed' definition 'is_compressed'. [funcArgNamesDifferent] LASzip-3.5.0/dll/laszip_api.h:564:40: note: Function 'laszip_has_spatial_index' argument 2 names different: declaration 'is_indexed' definition 'is_compressed'. LASzip-3.5.0/dll/laszip_api.c:898:40: note: Function 'laszip_has_spatial_index' argument 2 names different: declaration 'is_indexed' definition 'is_compressed'. LASzip-3.5.0/dll/laszip_api.c:924:40: style:inconclusive: Function 'laszip_inside_rectangle' argument 2 names different: declaration 'min_x' definition 'r_min_x'. [funcArgNamesDifferent] LASzip-3.5.0/dll/laszip_api.h:572:40: note: Function 'laszip_inside_rectangle' argument 2 names different: declaration 'min_x' definition 'r_min_x'. LASzip-3.5.0/dll/laszip_api.c:924:40: note: Function 'laszip_inside_rectangle' argument 2 names different: declaration 'min_x' definition 'r_min_x'. LASzip-3.5.0/dll/laszip_api.c:925:40: style:inconclusive: Function 'laszip_inside_rectangle' argument 3 names different: declaration 'min_y' definition 'r_min_y'. [funcArgNamesDifferent] LASzip-3.5.0/dll/laszip_api.h:573:40: note: Function 'laszip_inside_rectangle' argument 3 names different: declaration 'min_y' definition 'r_min_y'. LASzip-3.5.0/dll/laszip_api.c:925:40: note: Function 'laszip_inside_rectangle' argument 3 names different: declaration 'min_y' definition 'r_min_y'. LASzip-3.5.0/dll/laszip_api.c:926:40: style:inconclusive: Function 'laszip_inside_rectangle' argument 4 names different: declaration 'max_x' definition 'r_max_x'. [funcArgNamesDifferent] LASzip-3.5.0/dll/laszip_api.h:574:40: note: Function 'laszip_inside_rectangle' argument 4 names different: declaration 'max_x' definition 'r_max_x'. LASzip-3.5.0/dll/laszip_api.c:926:40: note: Function 'laszip_inside_rectangle' argument 4 names different: declaration 'max_x' definition 'r_max_x'. LASzip-3.5.0/dll/laszip_api.c:927:40: style:inconclusive: Function 'laszip_inside_rectangle' argument 5 names different: declaration 'max_y' definition 'r_max_y'. [funcArgNamesDifferent] LASzip-3.5.0/dll/laszip_api.h:575:40: note: Function 'laszip_inside_rectangle' argument 5 names different: declaration 'max_y' definition 'r_max_y'. LASzip-3.5.0/dll/laszip_api.c:927:40: note: Function 'laszip_inside_rectangle' argument 5 names different: declaration 'max_y' definition 'r_max_y'. LASzip-3.5.0/example/laszipdllexample.cpp:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszipdllexample.cpp:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszipdllexample.cpp:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszipdllexample.cpp:106:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszipdllexample.cpp:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:57:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:80:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:195:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:427:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:515:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszippertest.cpp:842:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] LASzip-3.5.0/example/laszipdllexample.cpp:2007:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:2015:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:2023:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:2690:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:2724:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3237:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3245:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3253:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3409:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3417:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3425:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3590:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3598:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3606:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3830:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:3877:9: warning: 'I64' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] LASzip-3.5.0/example/laszipdllexample.cpp:2228:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2231:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2265:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2268:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2302:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2305:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2339:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2342:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2376:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszipdllexample.cpp:2379:7: style: C-style pointer casting [cstyleCast] LASzip-3.5.0/example/laszippertest.cpp:218:3: warning: Member variable 'Settings::seed' is not initialized in the constructor. [uninitMemberVar] LASzip-3.5.0/example/laszippertest.cpp:79:7: warning: Class 'OStream' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] LASzip-3.5.0/example/laszippertest.cpp:79:7: warning: Class 'OStream' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] LASzip-3.5.0/example/laszippertest.cpp:134:7: warning: Struct 'IStream' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] LASzip-3.5.0/example/laszippertest.cpp:134:7: warning: Struct 'IStream' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] LASzip-3.5.0/example/laszippertest.cpp:229:12: warning: Class 'Settings' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] LASzip-3.5.0/example/laszippertest.cpp:229:12: warning: Class 'Settings' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] LASzip-3.5.0/example/laszippertest.cpp:177:3: style: Class 'PointData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] LASzip-3.5.0/example/laszippertest.cpp:515:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] LASzip-3.5.0/example/laszippertest.cpp:544:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] LASzip-3.5.0/example/laszipdllexample.cpp:128:26: style: Parameter 'argv' can be declared as const array [constParameter] LASzip-3.5.0/example/laszippertest.cpp:807:26: style: Parameter 'argv' can be declared as const array [constParameter] LASzip-3.5.0/example/laszipdllexample.cpp:3744:100: error: Signed integer overflow for expression '2<<32-1'. [integerOverflow] LASzip-3.5.0/src/lasmessage.hpp:47:78: error: There is an unknown macro here somewhere. Configuration is required. If LAS_FORMAT_STRING is a macro then please configure it. [unknownMacro] LASzip-3.5.0/src/mydefs.hpp:369:15: error: There is an unknown macro here somewhere. Configuration is required. If LAS_FORMAT_STRING is a macro then please configure it. [unknownMacro] LASzip-3.5.0/unused/rangedecoder.cpp:96:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] LASzip-3.5.0/unused/rangedecoder.cpp:204:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U16_MAX_PLUS_ONE [valueFlowBailoutIncompleteVar] LASzip-3.5.0/unused/rangedecoder.cpp:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U32_MAX_PLUS_ONE [valueFlowBailoutIncompleteVar] LASzip-3.5.0/unused/rangedecoder.cpp:107:20: style: Either there is a missing 'override', or the member function 'RangeDecoder::destroySymbolModel' can be static. [functionStatic] LASzip-3.5.0/unused/rangedecoder.hpp:71:8: note: Either there is a missing 'override', or the member function 'RangeDecoder::destroySymbolModel' can be static. LASzip-3.5.0/unused/rangedecoder.cpp:107:20: note: Either there is a missing 'override', or the member function 'RangeDecoder::destroySymbolModel' can be static. LASzip-3.5.0/unused/rangedecoder.cpp:97:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangedecoder.cpp:103:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangedecoder.cpp:109:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangedecoder.cpp:120:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangedecoder.cpp:100:62: style:inconclusive: Function 'initSymbolModel' argument 2 names different: declaration 'init' definition 'table'. [funcArgNamesDifferent] LASzip-3.5.0/unused/rangedecoder.hpp:70:50: note: Function 'initSymbolModel' argument 2 names different: declaration 'init' definition 'table'. LASzip-3.5.0/unused/rangedecoder.cpp:100:62: note: Function 'initSymbolModel' argument 2 names different: declaration 'init' definition 'table'. LASzip-3.5.0/unused/rangedecoder.cpp:61:38: style: Argument 'instream' shadows outer member [shadowMember] LASzip-3.5.0/unused/rangedecoder.hpp:105:17: note: Shadowed member LASzip-3.5.0/unused/rangedecoder.cpp:61:38: note: Shadow argument LASzip-3.5.0/unused/rangedecoder.cpp:240:22: style: Clarify calculation precedence for '>>' and '?'. [clarifyCalculation] LASzip-3.5.0/unused/rangeencoder.cpp:131:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] LASzip-3.5.0/unused/rangeencoder.cpp:215:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U16_MAX [valueFlowBailoutIncompleteVar] LASzip-3.5.0/unused/rangeencoder.cpp:283:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U16_MAX_PLUS_ONE [valueFlowBailoutIncompleteVar] LASzip-3.5.0/unused/rangeencoder.cpp:289:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U32_MAX_PLUS_ONE [valueFlowBailoutIncompleteVar] LASzip-3.5.0/unused/rangeencoder.cpp:132:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangeencoder.cpp:138:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangeencoder.cpp:145:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangeencoder.cpp:157:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] LASzip-3.5.0/unused/rangeencoder.cpp:135:62: style:inconclusive: Function 'initSymbolModel' argument 2 names different: declaration 'init' definition 'table'. [funcArgNamesDifferent] LASzip-3.5.0/unused/rangeencoder.hpp:71:50: note: Function 'initSymbolModel' argument 2 names different: declaration 'init' definition 'table'. LASzip-3.5.0/unused/rangeencoder.cpp:135:62: note: Function 'initSymbolModel' argument 2 names different: declaration 'init' definition 'table'. LASzip-3.5.0/unused/rangeencoder.cpp:149:55: style:inconclusive: Function 'encodeBit' argument 2 names different: declaration 'sym' definition 'bit'. [funcArgNamesDifferent] LASzip-3.5.0/unused/rangeencoder.hpp:75:43: note: Function 'encodeBit' argument 2 names different: declaration 'sym' definition 'bit'. LASzip-3.5.0/unused/rangeencoder.cpp:149:55: note: Function 'encodeBit' argument 2 names different: declaration 'sym' definition 'bit'. LASzip-3.5.0/unused/rangeencoder.cpp:61:39: style: Argument 'outstream' shadows outer member [shadowMember] LASzip-3.5.0/unused/rangeencoder.hpp:105:18: note: Shadowed member LASzip-3.5.0/unused/rangeencoder.cpp:61:39: note: Shadow argument LASzip-3.5.0/unused/rangemodel.cpp:212:18: style:inconclusive: Technically the member function 'RangeModel::getfreq' can be const. [functionConst] LASzip-3.5.0/unused/rangemodel.hpp:92:8: note: Technically the member function 'RangeModel::getfreq' can be const. LASzip-3.5.0/unused/rangemodel.cpp:212:18: note: Technically the member function 'RangeModel::getfreq' can be const. LASzip-3.5.0/unused/rangemodel.cpp:63:3: warning: Class 'RangeModel' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] LASzip-3.5.0/unused/rangemodel.cpp:63:3: warning: Class 'RangeModel' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] LASzip-3.5.0/unused/rangemodel.cpp:154:28: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] LASzip-3.5.0/unused/rangemodel.cpp:222:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] diff: DONE