2025-09-03 05:40 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-vroom/r-cran-vroom_1.6.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: e6e045f (2025-09-02 21:05:14 +0200) count: 95 158 elapsed-time: 0.6 1.7 head-timing-info: old-timing-info: head results: vroom/src/Iconv.h:15:3: style: Class 'Iconv' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vroom/src/LocaleInfo.h:25:3: style: Class 'LocaleInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vroom/src/Iconv.cpp:11:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vroom/src/Iconv.cpp:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vroom/src/Iconv.cpp:80:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_UTF8 [valueFlowBailoutIncompleteVar] vroom/src/altrep.h:5:0: error: failed to evaluate #if condition, undefined function-like macro invocation: R_Version( ... ) [preprocessorErrorDirective] vroom/src/altrep.h:5:2: error: failed to evaluate #if condition, undefined function-like macro invocation: R_Version( ... ) [preprocessorErrorDirective] vroom/src/cpp11.cpp:19:3: error: There is an unknown macro here somewhere. Configuration is required. If BEGIN_CPP11 is a macro then please configure it. [unknownMacro] vroom/src/gen.cc:10:17: performance: Function parameter 'values' should be passed by const reference. [passedByValue] vroom/src/utils.h:186:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore [valueFlowBailoutIncompleteVar] vroom/src/utils.h:315:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore [valueFlowBailoutIncompleteVar] vroom/src/fixed_width_index.h:164:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable row [valueFlowBailoutIncompleteVar] vroom/src/fixed_width_index.h:218:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] vroom/src/vroom_errors.h:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _nm [valueFlowBailoutIncompleteVar] vroom/src/vroom_errors.h:94:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _nm [valueFlowBailoutIncompleteVar] vroom/src/delimited_index.h:153:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] vroom/src/delimited_index.h:160:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable row [valueFlowBailoutIncompleteVar] vroom/src/delimited_index_connection.cc:142:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RECORD_START [valueFlowBailoutIncompleteVar] vroom/src/parallel.h:49:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable async [valueFlowBailoutIncompleteVar] vroom/src/delimited_index.cc:108:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore [valueFlowBailoutIncompleteVar] vroom/src/delimited_index.cc:385:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] vroom/src/fixed_width_index.h:63:5: performance: Variable 'mmap_' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vroom/src/index.h:71:14: style:inconclusive: Technically the member function 'vroom::index::range::begin' can be const. [functionConst] vroom/src/index.h:72:14: style:inconclusive: Technically the member function 'vroom::index::range::end' can be const. [functionConst] vroom/src/index.h:86:12: style:inconclusive: Technically the member function 'vroom::index::range::get_index' can be const. [functionConst] vroom/src/fixed_width_index_connection.h:8:15: warning: The class 'fixed_width_index_connection' defines member variable with name 'filename_' also defined in its parent class 'fixed_width_index'. [duplInheritedMember] vroom/src/fixed_width_index.h:44:15: note: Parent variable 'fixed_width_index::filename_' vroom/src/fixed_width_index_connection.h:8:15: note: Derived variable 'fixed_width_index_connection::filename_' vroom/src/vroom.h:34:3: style: Class 'string' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vroom/src/vroom.h:38:3: style: Class 'string' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vroom/src/iterator.h:35:3: style: Class 'iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vroom/src/index.h:58:14: style: The destructor '~subset_iterator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] vroom/src/iterator.h:18:12: note: Virtual destructor in base class vroom/src/index.h:58:14: note: Destructor in derived class vroom/src/fixed_width_index.h:213:14: style: The destructor '~column_iterator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] vroom/src/iterator.h:18:12: note: Virtual destructor in base class vroom/src/fixed_width_index.h:213:14: note: Destructor in derived class vroom/src/fixed_width_index_connection.h:23:4: style: The destructor '~fixed_width_index_connection' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] vroom/src/index.h:102:12: note: Virtual destructor in base class vroom/src/fixed_width_index_connection.h:23:4: note: Destructor in derived class vroom/src/fixed_width_index.h:298:15: performance: Function 'filename()' should return member 'filename_' by const reference. [returnByReference] vroom/src/utils.h:36:7: style: Condition 'skip_empty_rows' is always true [knownConditionTrueFalse] vroom/src/utils.h:32:7: note: Assuming that condition '!skip_empty_rows' is not redundant vroom/src/utils.h:36:7: note: Condition 'skip_empty_rows' is always true vroom/src/grisu3.c:297:15: style: Redundant condition: If 'v > 0', the comparison 'v <= 1.7976931348623157e308' is always true. [redundantCondition] vroom/src/grisu3.c:209:17: portability: Casting from double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] vroom/src/grisu3.c:296:17: portability: Casting from double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] vroom/src/grisu3.c:346:17: portability: Casting from double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] vroom/src/utils.h:187:42: warning: Either the condition 'begin' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] vroom/src/utils.h:185:11: note: Assuming that condition 'begin' is not redundant vroom/src/utils.h:187:42: note: Null pointer addition vroom/src/utils.h:185:5: style: Statements following 'break' will never be executed. [unreachableCode] vroom/src/index.h:77:12: style: Local variable 'begin' shadows outer function [shadowFunction] vroom/src/index.h:71:14: note: Shadowed declaration vroom/src/index.h:77:12: note: Shadow variable vroom/src/index.h:78:12: style: Local variable 'end' shadows outer function [shadowFunction] vroom/src/index.h:72:14: note: Shadowed declaration vroom/src/index.h:78:12: note: Shadow variable vroom/src/utils.h:53:8: style: Local variable 'is_comment' shadows outer function [shadowFunction] vroom/src/utils.h:13:1: note: Shadowed declaration vroom/src/utils.h:53:8: note: Shadow variable vroom/src/utils.h:308:21: style: Local variable 'is_comment' shadows outer function [shadowFunction] vroom/src/utils.h:13:1: note: Shadowed declaration vroom/src/utils.h:308:21: note: Shadow variable vroom/src/connection.h:62:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] vroom/src/iconv_file.cc:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::has_header_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::quote_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::trim_ws_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::escape_double_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::escape_backslash_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::skip_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::comment_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::progress_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index.h:139:3: warning: Member variable 'delimited_index::delim_len_' is not initialized in the constructor. [uninitMemberVar] vroom/src/delimited_index_connection.cc:47:3: performance: Variable 'filename_' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vroom/src/delimited_index_connection.h:6:15: warning: The class 'delimited_index_connection' defines member variable with name 'filename_' also defined in its parent class 'delimited_index'. [duplInheritedMember] vroom/src/delimited_index.h:175:15: note: Parent variable 'delimited_index::filename_' vroom/src/delimited_index_connection.h:6:15: note: Derived variable 'delimited_index_connection::filename_' vroom/src/multi_progress.h:41:3: style: Class 'multi_progress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vroom/src/delimited_index.h:96:14: style: The destructor '~column_iterator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] vroom/src/iterator.h:18:12: note: Virtual destructor in base class vroom/src/delimited_index.h:96:14: note: Destructor in derived class vroom/src/delimited_index.h:136:14: style: The destructor '~row_iterator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] vroom/src/iterator.h:18:12: note: Virtual destructor in base class vroom/src/delimited_index.h:136:14: note: Destructor in derived class vroom/src/delimited_index_connection.h:25:4: style: The destructor '~delimited_index_connection' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] vroom/src/index.h:102:12: note: Virtual destructor in base class vroom/src/delimited_index_connection.h:25:4: note: Destructor in derived class vroom/src/delimited_index.h:147:15: performance: Function 'filename()' should return member 'filename_' by const reference. [returnByReference] vroom/src/mio/include/mio/detail/mmap.ipp:111:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable read [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:237:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_handle [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:251:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_ [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:281:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_handle_ [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:293:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:315:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_handle [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:363:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bad_file_descriptor [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:400:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_ [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:441:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_ [valueFlowBailoutIncompleteVar] vroom/src/mio/include/mio/detail/mmap.ipp:204:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] vroom/src/mio/include/mio/detail/mmap.ipp:190:52: note: Assuming allocation function fails vroom/src/mio/include/mio/detail/mmap.ipp:190:45: note: Assignment 'mapping_start=static_cast(::mmap(0,length_to_map,mode==access_mode::read?PROT_READ:PROT_WRITE,MAP_SHARED,file_handle,aligned_offset))', assigned value is 0 vroom/src/mio/include/mio/detail/mmap.ipp:204:30: note: Null pointer addition vroom/src/delimited_index.h:439:16: style: The scope of the variable 'buf_offset' can be reduced. [variableScope] vroom/src/index_collection.h:95:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] vroom/src/index_collection.h:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable row [valueFlowBailoutIncompleteVar] vroom/src/index_collection.cc:139:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] vroom/src/index_collection.cc:299:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] vroom/src/delimited_index.cc:54:3: performance: Variable 'mmap_' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vroom/src/parallel.h:74:7: style: Condition 'use_threads' is always true [knownConditionTrueFalse] vroom/src/parallel.h:44:7: note: Assuming that condition 'use_threads' is not redundant vroom/src/parallel.h:74:7: note: Condition 'use_threads' is always true vroom/src/delimited_index.cc:388:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] vroom/src/delimited_index.cc:428:36: style:inconclusive: Function 'get' argument 1 names different: declaration 'range' definition 'row'. [funcArgNamesDifferent] vroom/src/delimited_index.h:141:0: note: Function 'get' argument 1 names different: declaration 'range' definition 'row'. vroom/src/delimited_index.cc:428:36: note: Function 'get' argument 1 names different: declaration 'range' definition 'row'. vroom/src/vroom_write.cc:115:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] vroom/src/vroom_write.cc:215:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] vroom/src/vroom_write.cc:593:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_UTF8 [valueFlowBailoutIncompleteVar] vroom/src/vroom_write.cc:254:26: style: C-style pointer casting [cstyleCast] vroom/src/index_collection.h:90:14: style: The destructor '~full_iterator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] vroom/src/iterator.h:18:12: note: Virtual destructor in base class vroom/src/index_collection.h:90:14: note: Destructor in derived class vroom/src/vroom_write.cc:235:11: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] vroom/src/vroom_write.cc:283:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] vroom/src/vroom_write.cc:328:11: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] vroom/src/vroom_write.cc:505:23: style: Unused variable: write_fut [unusedVariable] vroom/src/index_collection.cc:73:67: style:inconclusive: Function 'distance_to' argument 1 names different: declaration 'it' definition 'that'. [funcArgNamesDifferent] vroom/src/index_collection.h:83:48: note: Function 'distance_to' argument 1 names different: declaration 'it' definition 'that'. vroom/src/index_collection.cc:73:67: note: Function 'distance_to' argument 1 names different: declaration 'it' definition 'that'. vroom/src/index_collection.cc:376:37: style:inconclusive: Function 'get' argument 1 names different: declaration 'range' definition 'row'. [funcArgNamesDifferent] vroom/src/index_collection.h:49:0: note: Function 'get' argument 1 names different: declaration 'range' definition 'row'. vroom/src/index_collection.cc:376:37: note: Function 'get' argument 1 names different: declaration 'range' definition 'row'. vroom/src/index_collection.cc:376:49: style:inconclusive: Function 'get' argument 2 names different: declaration 'col' definition 'column'. [funcArgNamesDifferent] vroom/src/index_collection.h:49:33: note: Function 'get' argument 2 names different: declaration 'col' definition 'column'. vroom/src/index_collection.cc:376:49: note: Function 'get' argument 2 names different: declaration 'col' definition 'column'. vroom/src/index_collection.h:58:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] diff: 2.18.0 vroom/src/DateTime.h:85:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/DateTime.h:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/DateTimeParser.h:182:8: style:inconclusive: Technically the member function 'DateTimeParser::isComplete' can be const. [functionConst] 2.18.0 vroom/src/DateTimeParser.h:19:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/DateTimeParser.h:210:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 vroom/src/DateTimeParser.h:277:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 vroom/src/DateTimeParser.h:316:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 vroom/src/DateTimeParser.h:383:8: style:inconclusive: Technically the member function 'DateTimeParser::compactDate' can be const. [functionConst] 2.18.0 vroom/src/DateTimeParser.h:385:7: style:inconclusive: Technically the member function 'DateTimeParser::year' can be const. [functionConst] 2.18.0 vroom/src/DateTimeParser.h:388:7: style:inconclusive: Technically the member function 'DateTimeParser::hour' can be const. [functionConst] 2.18.0 vroom/src/DateTimeParser.h:451:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/DateTimeParser.h:527:15: style: Unused private function: 'DateTimeParser::consumeAMPM' [unusedPrivateFunction] vroom/src/DateTimeParser.h:527:15: note: Unused private function: 'DateTimeParser::consumeAMPM' vroom/src/DateTimeParser.h:527:15: note: Unused private function: 'DateTimeParser::consumeAMPM' 2.18.0 vroom/src/DateTimeParser.h:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/DateTimeParser.h:90:3: style: Class 'DateTimeParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 vroom/src/altrep.cc:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boolalpha [valueFlowBailoutIncompleteVar] head vroom/src/altrep.h:5:0: error: failed to evaluate #if condition, undefined function-like macro invocation: R_Version( ... ) [preprocessorErrorDirective] head vroom/src/altrep.h:5:2: error: failed to evaluate #if condition, undefined function-like macro invocation: R_Version( ... ) [preprocessorErrorDirective] 2.18.0 vroom/src/collectors.h:143:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/collectors.h:15:15: performance:inconclusive: Technically the member function 'collector::derive_type' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 vroom/src/collectors.h:58:8: style:inconclusive: Technically the member function 'collector::operator[]' can be const. [functionConst] 2.18.0 vroom/src/collectors.h:59:8: style:inconclusive: Technically the member function 'collector::use_altrep' can be const. [functionConst] 2.18.0 vroom/src/collectors.h:99:15: style:inconclusive: Technically the member function 'collectors::spec' can be const. [functionConst] 2.18.0 vroom/src/columns.h:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/columns.h:86:31: style: Parameter 'filenames' can be declared as reference to const [constParameterReference] 2.18.0 vroom/src/guess_type.cc:122:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/guess_type.cc:18:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/guess_type.cc:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/guess_type.cc:44:49: style: Parameter 'pLocale' can be declared as pointer to const. However it seems that 'isNumber' is a callback function, if 'pLocale' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vroom/src/guess_type.cc:135:23: note: You might need to cast the function pointer here vroom/src/guess_type.cc:44:49: note: Parameter 'pLocale' can be declared as pointer to const 2.18.0 vroom/src/guess_type.cc:67:49: style: Parameter 'pLocale' can be declared as pointer to const. However it seems that 'isDouble' is a callback function, if 'pLocale' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vroom/src/guess_type.cc:133:23: note: You might need to cast the function pointer here vroom/src/guess_type.cc:67:49: note: Parameter 'pLocale' can be declared as pointer to const 2.18.0 vroom/src/vroom.cc:47:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_big_int.cc:15:13: style: Condition 'begin!=end' is always true [knownConditionTrueFalse] 2.18.0 vroom/src/vroom_big_int.cc:71:34: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_chr.cc:50:30: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_chr.cc:9:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_date.cc:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_date.cc:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_date.cc:70:31: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_dbl.cc:15:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_dbl.cc:233:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_dbl.cc:248:30: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_dbl.cc:51:17: style: Variable 'powersOf10' can be declared as const array [constVariable] 2.18.0 vroom/src/vroom_dbl.cc:80:9: style: Condition 'p!=end' is always true [knownConditionTrueFalse] 2.18.0 vroom/src/vroom_dbl.cc:83:16: style: Condition 'p!=end' is always true [knownConditionTrueFalse] 2.18.0 vroom/src/vroom_dttm.cc:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_dttm.cc:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_dttm.cc:76:31: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_fct.cc:104:30: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_fct.cc:21:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_fct.cc:5:14: style: Variable 'hay' can be declared as reference to const [constVariableReference] 2.18.0 vroom/src/vroom_fct.cc:5:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 vroom/src/vroom_fct.cc:65:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_fct.h:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_fct.h:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_fwf.cc:146:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _nm [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_int.cc:11:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_int.cc:14:13: style: Condition 'begin!=end' is always true [knownConditionTrueFalse] 2.18.0 vroom/src/vroom_int.cc:66:30: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_lgl.h:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_num.cc:122:17: style:inconclusive: Function 'parse_num' argument 1 names different: declaration 'begin' definition 'start'. [funcArgNamesDifferent] vroom/src/vroom_num.h:15:17: note: Function 'parse_num' argument 1 names different: declaration 'begin' definition 'start'. vroom/src/vroom_num.cc:122:17: note: Function 'parse_num' argument 1 names different: declaration 'begin' definition 'start'. 2.18.0 vroom/src/vroom_num.cc:132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_num.cc:172:30: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_rle.cc:10:30: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_time.cc:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_time.cc:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_time.cc:69:31: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] 2.18.0 vroom/src/vroom_vec.h:41:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.18.0 vroom/src/vroom_vec.h:43:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] DONE