./cppcheck.sh: cppcheck 2.13.1 not tested with this script
# Cppcheck 2.13.1
cppcheck \
  --enable=warning,style,performance,portability,information \
  --library=posix \
  --platform=unix64 \
  ... \
  -U__KERNEL__ \
  -U__LP64__ \
  -U__MINGW64_VERSION_STR \
  -U__VERSION__ \
  -U_NETWARE \
  -DBUILD_INFO="(...)" \
  -UCLOCK_MONOTONIC \
  -DENOTSUP=1 \
  -DHAVE_ATTR_PACKED \
  -DHAVE_CONFIG_H \
  -DPACKAGE_VERSION="7.4" \
  -DSG_IO=1 \
  -DSMARTMONTOOLS_BUILD_HOST="host" \
  -DSMARTMONTOOLS_ATTRIBUTELOG="/file" \
  -DSMARTMONTOOLS_SAVESTATES="/file" \
  -DSMARTMONTOOLS_DRIVEDBDIR="/dir" \
  -USMARTMONTOOLS_RELEASE_DATE \
  -USMARTMONTOOLS_RELEASE_TIME \
  -USMARTMONTOOLS_SVN_REV \
  -DSOURCE_DATE_EPOCH=1665402854 \
  -Umakedev \
  -Ustricmp \
  --suppress=syntaxError:drivedb.h \
  --suppress=asctime_rCalled:utility.cpp \
  --suppress=asctime_sCalled:utility.cpp \
  --suppress=cstyleCast:sg_unaligned.h \
  --suppress=getgrgidCalled:popen_as_ugid.cpp \
  --suppress=getgrnamCalled:popen_as_ugid.cpp \
  --suppress=getpwnamCalled:popen_as_ugid.cpp \
  --suppress=getpwuidCalled:popen_as_ugid.cpp \
  --suppress=readdirCalled \
  --suppress=strtokCalled \
  --suppress=unusedStructMember \
  *.cpp *.h os_win32/*.cpp os_win32/*.h
atacmdnames.cpp:15: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmdnames.cpp:16: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataidentify.cpp:11: information: (missingInclude) Include file: "config.h" not found.
utility.h:18: information: (missingIncludeSystem) Include file: <float.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:19: information: (missingIncludeSystem) Include file: <time.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:20: information: (missingIncludeSystem) Include file: <stdarg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:21: information: (missingIncludeSystem) Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:22: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:23: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:24: information: (missingIncludeSystem) Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:26: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:30: information: (missingIncludeSystem) Include file: <regex.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataidentify.cpp:21: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmds.cpp:14: information: (missingInclude) Include file: "config.h" not found.
atacmds.cpp:17: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmds.cpp:18: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmds.cpp:19: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmds.cpp:20: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmds.cpp:21: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmds.cpp:22: information: (missingIncludeSystem) Include file: <ctype.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.h:18: information: (missingIncludeSystem) Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.h:19: information: (missingIncludeSystem) Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.h:20: information: (missingIncludeSystem) Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results.
atacmds.cpp:378: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
ataprint.cpp:13: information: (missingInclude) Include file: "config.h" not found.
ataprint.cpp:16: information: (missingIncludeSystem) Include file: <ctype.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:17: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:18: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:19: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:20: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:21: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.h:18: information: (missingIncludeSystem) Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.h:14: information: (missingIncludeSystem) Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.h:15: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.h:16: information: (missingIncludeSystem) Include file: <initializer_list> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.h:17: information: (missingIncludeSystem) Include file: <map> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.h:18: information: (missingIncludeSystem) Include file: <memory> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.h:19: information: (missingIncludeSystem) Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.h:20: information: (missingIncludeSystem) Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results.
sg_unaligned.h:11: information: (missingIncludeSystem) Include file: <stdbool.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
sg_unaligned.h:12: information: (missingIncludeSystem) Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
sg_unaligned.h:13: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
sg_unaligned.h:52: information: (missingInclude) Include file: "config.h" not found.
farmcmds.h:22: information: (missingIncludeSystem) Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.h:28: information: (missingIncludeSystem) Include file: <regex> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:3387: information: (checkLevelNormal) Limiting ValueFlow analysis in function 'ataPrintMain' since it is too complex. Please specify --check-level=exhaustive to perform full analysis.
ataidentify.cpp:591: warning: (invalidScanfArgType_int) %n in format string (no. 3) requires 'int *' but the argument type is 'signed int'.
ataidentify.cpp:594: warning: (invalidScanfArgType_int) %n in format string (no. 2) requires 'int *' but the argument type is 'signed int'.
ataidentify.cpp:597: warning: (invalidScanfArgType_int) %n in format string (no. 3) requires 'int *' but the argument type is 'signed int'.
ataidentify.cpp:600: warning: (invalidScanfArgType_int) %n in format string (no. 2) requires 'int *' but the argument type is 'signed int'.
utility.h:96: style: (cstyleCast) C-style pointer casting
utility.h:98: style: (cstyleCast) C-style pointer casting
utility.h:100: style: (cstyleCast) C-style pointer casting
ataidentify.cpp:569: style: (cstyleCast) C-style pointer casting
ataidentify.cpp:684: style: (cstyleCast) C-style pointer casting
ataidentify.cpp:701: style: (cstyleCast) C-style pointer casting
ataidentify.cpp:702: style: (cstyleCast) C-style pointer casting
cciss.cpp:11: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:12: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:13: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:14: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:16: information: (missingInclude) Include file: "config.h" not found.
cciss.cpp:19: information: (missingIncludeSystem) Include file: <sys/ioctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:24: information: (missingIncludeSystem) Include file: <linux/cciss_ioctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:27: information: (missingIncludeSystem) Include file: <asm/byteorder.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.h:24: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.h:25: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.h:26: information: (missingIncludeSystem) Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.h:27: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:94: style: (cstyleCast) C-style pointer casting
cciss.cpp:127: style: (cstyleCast) C-style pointer casting
cciss.cpp:187: style: (cstyleCast) C-style pointer casting
cciss.cpp:204: style: (cstyleCast) C-style pointer casting
cciss.cpp:215: style: (cstyleCast) C-style pointer casting
cciss.cpp:224: style: (cstyleCast) C-style pointer casting
cciss.cpp:152: style: (constParameterPointer) Parameter 'scsi3addr' can be declared as pointer to const
cciss.cpp:149: style: (constParameterPointer) Parameter 'CDB' can be declared as pointer to const
cciss.cpp:21: information: (missingIncludeSystem) Include file: <linux/compiler.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cciss.cpp:32: information: (missingIncludeSystem) Include file: <sys/endian.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_areca.cpp:11: information: (missingInclude) Include file: "config.h" not found.
dev_areca.cpp:22: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_areca.cpp:135: style: (cstyleCast) C-style pointer casting
dev_areca.cpp:149: style: (cstyleCast) C-style pointer casting
dev_areca.cpp:178: style: (cstyleCast) C-style pointer casting
dev_areca.cpp:207: style: (cstyleCast) C-style pointer casting
dev_areca.cpp:455: style: (cstyleCast) C-style pointer casting
dev_areca.cpp:500: style: (cstyleCast) C-style pointer casting
dev_areca.cpp:504: style: (cstyleCast) C-style pointer casting
dev_areca.cpp:129: style: (constVariablePointer) Variable 'areca_return_packet' can be declared as pointer to const
dev_areca.h:55: information: (missingIncludeSystem) Include file: <sys/ioctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_ata_cmd_set.cpp:11: information: (missingInclude) Include file: "config.h" not found.
dev_ata_cmd_set.cpp:16: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_ata_cmd_set.cpp:34: style: (cstyleCast) C-style pointer casting
dev_intelliprop.cpp:11: information: (missingInclude) Include file: "config.h" not found.
dev_intelliprop.cpp:16: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_intelliprop.cpp:180: style: (cstyleCast) C-style pointer casting
dev_intelliprop.cpp:206: style: (cstyleCast) C-style pointer casting
dev_intelliprop.cpp:212: style: (cstyleCast) C-style pointer casting
dev_interface.cpp:11: information: (missingInclude) Include file: "config.h" not found.
nvmecmds.h:21: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
nvmecmds.h:22: information: (missingIncludeSystem) Include file: <stddef.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
nvmecmds.h:23: information: (missingIncludeSystem) Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.cpp:20: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.cpp:21: information: (missingIncludeSystem) Include file: <stdarg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.cpp:22: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.cpp:23: information: (missingIncludeSystem) Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_interface.cpp:76: style: (knownConditionTrueFalse) Return value 'smi()->set_err_var(&m_err,no)' is always false
dev_jmb39x_raid.cpp:16: information: (missingInclude) Include file: "config.h" not found.
dev_jmb39x_raid.cpp:26: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_jmb39x_raid.cpp:679: style: (cstyleCast) C-style pointer casting
dev_legacy.cpp:11: information: (missingInclude) Include file: "config.h" not found.
dev_legacy.cpp:19: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
dev_legacy.cpp:119: style: (missingOverride) The function 'ata_command_interface' overrides a function in a base class but is not marked with a 'override' specifier.
farmcmds.cpp:11: information: (missingInclude) Include file: "config.h" not found.
farmcmds.cpp:14: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
farmprint.cpp:11: information: (missingInclude) Include file: "config.h" not found.
farmprint.cpp:14: information: (missingIncludeSystem) Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
farmprint.cpp:15: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
farmprint.cpp:154: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
json.cpp:11: information: (missingInclude) Include file: "config.h" not found.
json.cpp:22: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
json.cpp:23: information: (missingIncludeSystem) Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.
farmcmds.cpp:149: style: (constParameterPointer) Parameter 'scsi_vendor' can be declared as pointer to const
json.cpp:189: style: (cstyleCast) C-style pointer casting
json.cpp:233: style: (cstyleCast) C-style pointer casting
json.cpp:202: style: (unusedScopedObject) Instance of 'ref' object is destroyed immediately, assignment has no effect.
json.cpp:214: style: (unusedScopedObject) Instance of 'ref' object is destroyed immediately, assignment has no effect.
json.cpp:253: style: (unusedScopedObject) Instance of 'ref' object is destroyed immediately, assignment has no effect.
knowndrives.cpp:12: information: (missingInclude) Include file: "config.h" not found.
knowndrives.cpp:14: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
knowndrives.cpp:26: information: (missingIncludeSystem) Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.
knowndrives.cpp:184: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
ataprint.cpp:681: style: (cstyleCast) C-style pointer casting
knowndrives.cpp:20: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:1554: style: (duplicateExpression) Same expression on both sides of '-'.
knowndrives.cpp:23: information: (missingIncludeSystem) Include file: <io.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:618: style: (unreadVariable) Variable 'jref["bits_per_unit"]' is assigned a value that is never used.
ataprint.cpp:876: style: (unreadVariable) Variable 'jref["passed"]' is assigned a value that is never used.
ataprint.cpp:877: style: (unreadVariable) Variable 'jref["passed"]' is assigned a value that is never used.
ataprint.cpp:978: style: (unreadVariable) Variable 'jref["passed"]' is assigned a value that is never used.
ataprint.cpp:983: style: (unreadVariable) Variable 'jref["remaining_percent"]' is assigned a value that is never used.
ataprint.cpp:1043: style: (unreadVariable) Variable 'jref["selective_self_test_supported"]' is assigned a value that is never used.
ataprint.cpp:1061: style: (unreadVariable) Variable 'jref["attribute_autosave_enabled"]' is assigned a value that is never used.
ataprint.cpp:1344: style: (unreadVariable) Variable 'jreff["other"]' is assigned a value that is never used.
ataprint.cpp:1348: style: (unreadVariable) Variable 'jref["raw"]["string"]' is assigned a value that is never used.
ataprint.cpp:1394: style: (unreadVariable) Variable 'jref["data_table_supported"]' is assigned a value that is never used.
ataprint.cpp:1643: style: (unreadVariable) Variable 'jrefi["smart_sectors"]' is assigned a value that is never used.
ataprint.cpp:1931: style: (unreadVariable) Variable 'jreff["other"]' is assigned a value that is never used.
ataprint.cpp:2105: style: (unreadVariable) Variable 'jrefi["power_on_hours"]' is assigned a value that is never used.
ataprint.cpp:2183: style: (unreadVariable) Variable 'jref["overflow"]' is assigned a value that is never used.
ataprint.cpp:2245: style: (unreadVariable) Variable 'jref["count"]' is assigned a value that is never used.
ataprint.cpp:2326: style: (unreadVariable) Variable 'jrefir["device"]' is assigned a value that is never used.
ataprint.cpp:2367: style: (unreadVariable) Variable 'jreficr["device_control"]' is assigned a value that is never used.
ataprint.cpp:2369: style: (unreadVariable) Variable 'jrefic["command_name"]' is assigned a value that is never used.
ataprint.cpp:2396: style: (unreadVariable) Variable 'jref["count"]' is assigned a value that is never used.
ataprint.cpp:2531: style: (unreadVariable) Variable 'jrefir["device_control"]' is assigned a value that is never used.
ataprint.cpp:2585: style: (unreadVariable) Variable 'jreficr["device_control"]' is assigned a value that is never used.
ataprint.cpp:2587: style: (unreadVariable) Variable 'jrefic["command_name"]' is assigned a value that is never used.
ataprint.cpp:2712: style: (unreadVariable) Variable 'jref["count"]' is assigned a value that is never used.
ataprint.cpp:2758: style: (unreadVariable) Variable 'jref["error_count_outdated"]' is assigned a value that is never used.
ataprint.cpp:2779: style: (unreadVariable) Variable 'jref["count"]' is assigned a value that is never used.
nvmecmds.cpp:11: information: (missingInclude) Include file: "config.h" not found.
nvmecmds.cpp:22: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
ataprint.cpp:2845: style: (unreadVariable) Variable 'jref["error_count_outdated"]' is assigned a value that is never used.
ataprint.cpp:2941: style: (unreadVariable) Variable 'jrefi["current_lba_max"]' is assigned a value that is never used.
ataprint.cpp:2955: style: (unreadVariable) Variable 'jrefc["status"]["string"]' is assigned a value that is never used.
ataprint.cpp:2982: style: (unreadVariable) Variable 'jreff["power_up_scan_pending"]' is assigned a value that is never used.
ataprint.cpp:2990: style: (unreadVariable) Variable 'jref["power_up_scan_resume_minutes"]' is assigned a value that is never used.
ataprint.cpp:3124: style: (unreadVariable) Variable 'jref["vendor_specific"][i]' is assigned a value that is never used.
ataprint.cpp:3193: style: (unreadVariable) Variable 'jref["table"][n]' is assigned a value that is never used.
ataprint.cpp:3223: style: (unreadVariable) Variable 'jref["write"]["deciseconds"]' is assigned a value that is never used.
ataprint.cpp:3256: style: (unreadVariable) Variable 'jref["recommended_level"]' is assigned a value that is never used.
ataprint.cpp:3285: style: (unreadVariable) Variable 'jref["with_standby"]' is assigned a value that is never used.
ataprint.cpp:3349: style: (unreadVariable) Variable 'jref["master_password_id"]' is assigned a value that is never used.
nvmecmds.cpp:33: style: (cstyleCast) C-style pointer casting
nvmecmds.cpp:47: style: (cstyleCast) C-style pointer casting
nvmecmds.cpp:223: style: (cstyleCast) C-style pointer casting
nvmeprint.cpp:11: information: (missingInclude) Include file: "config.h" not found.
nvmeprint.cpp:27: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:12: information: (missingIncludeSystem) Include file: <stdbool.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:13: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:14: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:15: information: (missingIncludeSystem) Include file: <mach/mach.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:16: information: (missingIncludeSystem) Include file: <mach/mach_error.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:17: information: (missingIncludeSystem) Include file: <mach/mach_init.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:18: information: (missingIncludeSystem) Include file: <sys/utsname.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:19: information: (missingIncludeSystem) Include file: <IOKit/IOCFPlugIn.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:20: information: (missingIncludeSystem) Include file: <IOKit/IOKitLib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:21: information: (missingIncludeSystem) Include file: <IOKit/IOReturn.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:22: information: (missingIncludeSystem) Include file: <IOKit/IOBSD.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:23: information: (missingIncludeSystem) Include file: <IOKit/storage/IOBlockStorageDevice.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:24: information: (missingIncludeSystem) Include file: <IOKit/storage/IOStorageDeviceCharacteristics.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:25: information: (missingIncludeSystem) Include file: <IOKit/storage/IOMedia.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:26: information: (missingIncludeSystem) Include file: <IOKit/storage/ata/IOATAStorageDefines.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:27: information: (missingIncludeSystem) Include file: <IOKit/storage/ata/ATASMARTLib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:28: information: (missingIncludeSystem) Include file: <CoreFoundation/CoreFoundation.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_darwin.cpp:30: information: (missingInclude) Include file: "config.h" not found.
os_darwin.cpp:41: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If CONFIG_H_CVSID is a macro then please configure it.
nvmeprint.cpp:200: style: (unreadVariable) Variable 'jrns["eui64"]["ext_id"]' is assigned a value that is never used.
nvmeprint.cpp:366: style: (unreadVariable) Variable 'jref["other"]' is assigned a value that is never used.
nvmeprint.cpp:439: style: (unreadVariable) Variable 'jref["temperature_sensors"][i]' is assigned a value that is never used.
nvmeprint.cpp:537: style: (unreadVariable) Variable 'jrefi["vendor_specific"]' is assigned a value that is never used.
nvmeprint.cpp:644: style: (unreadVariable) Variable 'jrefi["status_code"]' is assigned a value that is never used.
os_freebsd.cpp:11: information: (missingIncludeSystem) Include file: <sys/param.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:12: information: (missingIncludeSystem) Include file: <sys/endian.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:13: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:14: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:15: information: (missingIncludeSystem) Include file: <dirent.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:16: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:17: information: (missingIncludeSystem) Include file: <err.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:18: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:19: information: (missingIncludeSystem) Include file: <camlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:20: information: (missingIncludeSystem) Include file: <cam/scsi/scsi_message.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:21: information: (missingIncludeSystem) Include file: <cam/scsi/scsi_pass.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:25: information: (missingIncludeSystem) Include file: <sys/ata.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:27: information: (missingIncludeSystem) Include file: <sys/stat.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:28: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:29: information: (missingIncludeSystem) Include file: <sys/uio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:30: information: (missingIncludeSystem) Include file: <glob.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:31: information: (missingIncludeSystem) Include file: <stddef.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:32: information: (missingIncludeSystem) Include file: <paths.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:33: information: (missingIncludeSystem) Include file: <sys/utsname.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:35: information: (missingInclude) Include file: "config.h" not found.
os_freebsd.cpp:65: information: (missingIncludeSystem) Include file: <dev/usb/usb.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:66: information: (missingIncludeSystem) Include file: <dev/usb/usbhid.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
freebsd_nvme_ioctl.h:30: information: (missingIncludeSystem) Include file: <sys/param.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:79: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If CONFIG_H_CVSID is a macro then please configure it.
os_freebsd.h:274: information: (missingIncludeSystem) Include file: <sys/tweio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.h:77: information: (missingIncludeSystem) Include file: <sys/twereg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.h:297: information: (missingIncludeSystem) Include file: <sys/tw_osl_ioctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:23: information: (missingIncludeSystem) Include file: <sys/nata.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:62: information: (missingIncludeSystem) Include file: <bus/usb/usb.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_freebsd.cpp:63: information: (missingIncludeSystem) Include file: <bus/usb/usbhid.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_generic.cpp:62: information: (missingInclude) Include file: "config.h" not found.
os_generic.cpp:78: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If CONFIG_H_CVSID is a macro then please configure it.
os_linux.cpp:40: information: (missingInclude) Include file: "config.h" not found.
os_linux.cpp:42: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:43: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:44: information: (missingIncludeSystem) Include file: <glob.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:46: information: (missingIncludeSystem) Include file: <scsi/scsi.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:47: information: (missingIncludeSystem) Include file: <scsi/scsi_ioctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:48: information: (missingIncludeSystem) Include file: <scsi/sg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:49: information: (missingIncludeSystem) Include file: <linux/bsg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:50: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:51: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:52: information: (missingIncludeSystem) Include file: <sys/ioctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:53: information: (missingIncludeSystem) Include file: <sys/stat.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:54: information: (missingIncludeSystem) Include file: <sys/utsname.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:55: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:56: information: (missingIncludeSystem) Include file: <stddef.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:57: information: (missingIncludeSystem) Include file: <sys/uio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:58: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:59: information: (missingIncludeSystem) Include file: <dirent.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
sssraid.h:13: information: (missingIncludeSystem) Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
linux_nvme_ioctl.h:10: information: (missingIncludeSystem) Include file: <linux/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:339: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
os_linux.cpp:67: information: (missingIncludeSystem) Include file: <selinux/selinux.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_linux.cpp:64: information: (missingIncludeSystem) Include file: <sys/sysmacros.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.cpp:12: information: (missingInclude) Include file: "config.h" not found.
os_netbsd.h:16: information: (missingIncludeSystem) Include file: <sys/device.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:17: information: (missingIncludeSystem) Include file: <sys/param.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:18: information: (missingIncludeSystem) Include file: <sys/sysctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:20: information: (missingIncludeSystem) Include file: <sys/scsiio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:21: information: (missingIncludeSystem) Include file: <sys/ataio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:24: information: (missingIncludeSystem) Include file: <dev/ata/atareg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:28: information: (missingIncludeSystem) Include file: <dev/ic/wdcreg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:31: information: (missingIncludeSystem) Include file: <err.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:32: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.h:33: information: (missingIncludeSystem) Include file: <util.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.cpp:19: information: (missingIncludeSystem) Include file: <sys/drvctlio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.cpp:20: information: (missingIncludeSystem) Include file: <sys/utsname.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.cpp:21: information: (missingIncludeSystem) Include file: <sys/stat.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.cpp:22: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.cpp:23: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
netbsd_nvme_ioctl.h:20: information: (missingIncludeSystem) Include file: <sys/param.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_netbsd.cpp:57: style: (missingOverride) The function 'is_open' overrides a function in a base class but is not marked with a 'override' specifier.
os_netbsd.cpp:59: style: (missingOverride) The function 'open' overrides a function in a base class but is not marked with a 'override' specifier.
os_netbsd.cpp:61: style: (missingOverride) The function 'close' overrides a function in a base class but is not marked with a 'override' specifier.
os_netbsd.cpp:185: style: (cstyleCast) C-style pointer casting
os_netbsd.cpp:190: style: (cstyleCast) C-style pointer casting
os_netbsd.cpp:214: style: (cstyleCast) C-style pointer casting
os_netbsd.cpp:379: style: (cstyleCast) C-style pointer casting
os_netbsd.cpp:581: style: (cstyleCast) C-style pointer casting
os_netbsd.cpp:589: style: (cstyleCast) C-style pointer casting
os_netbsd.cpp:597: style: (cstyleCast) C-style pointer casting
os_netbsd.cpp:612: style: (cstyleCast) C-style pointer casting
os_netbsd.h:26: information: (missingIncludeSystem) Include file: <dev/ata/atavar.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.cpp:13: information: (missingInclude) Include file: "config.h" not found.
os_openbsd.h:23: information: (missingIncludeSystem) Include file: <sys/device.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:24: information: (missingIncludeSystem) Include file: <sys/param.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:25: information: (missingIncludeSystem) Include file: <sys/sysctl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:27: information: (missingIncludeSystem) Include file: <sys/scsiio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:28: information: (missingIncludeSystem) Include file: <sys/ataio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:31: information: (missingIncludeSystem) Include file: <dev/ata/atareg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:35: information: (missingIncludeSystem) Include file: <dev/ic/wdcreg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:38: information: (missingIncludeSystem) Include file: <err.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:39: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:40: information: (missingIncludeSystem) Include file: <util.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.h:41: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.cpp:21: information: (missingIncludeSystem) Include file: <sys/utsname.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.cpp:22: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.cpp:23: information: (missingIncludeSystem) Include file: <sys/stat.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.cpp:24: information: (missingIncludeSystem) Include file: <util.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_openbsd.cpp:73: style: (missingOverride) The function 'is_open' overrides a function in a base class but is not marked with a 'override' specifier.
os_openbsd.cpp:75: style: (missingOverride) The function 'open' overrides a function in a base class but is not marked with a 'override' specifier.
os_openbsd.cpp:77: style: (missingOverride) The function 'close' overrides a function in a base class but is not marked with a 'override' specifier.
os_openbsd.cpp:202: style: (cstyleCast) C-style pointer casting
os_openbsd.cpp:207: style: (cstyleCast) C-style pointer casting
os_openbsd.cpp:289: style: (cstyleCast) C-style pointer casting
os_openbsd.cpp:361: style: (cstyleCast) C-style pointer casting
os_openbsd.cpp:555: style: (cstyleCast) C-style pointer casting
os_openbsd.cpp:563: style: (cstyleCast) C-style pointer casting
os_openbsd.cpp:575: style: (cstyleCast) C-style pointer casting
os_openbsd.cpp:584: style: (cstyleCast) C-style pointer casting
os_openbsd.h:33: information: (missingIncludeSystem) Include file: <dev/ata/atavar.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_os2.cpp:18: information: (missingInclude) Include file: "config.h" not found.
os_os2.cpp:20: information: (missingIncludeSystem) Include file: <ctype.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_os2.cpp:21: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_os2.h:22: information: (missingIncludeSystem) Include file: <os2.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_os2.cpp:488: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
os_qnxnto.cpp:12: information: (missingInclude) Include file: "config.h" not found.
os_qnxnto.h:19: information: (missingIncludeSystem) Include file: <sys/cpt.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.h:22: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.h:25: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.h:26: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.h:27: information: (missingIncludeSystem) Include file: <gulliver.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.h:28: information: (missingIncludeSystem) Include file: <sys/cpt.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.h:29: information: (missingIncludeSystem) Include file: <sys/dcmd_cam.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.h:30: information: (missingIncludeSystem) Include file: <sys/cam_device.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.cpp:23: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_qnxnto.cpp:29: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If CONFIG_H_CVSID is a macro then please configure it.
os_solaris.cpp:12: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:13: information: (missingIncludeSystem) Include file: <ctype.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:14: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:15: information: (missingIncludeSystem) Include file: <dirent.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:16: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:17: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:18: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:19: information: (missingIncludeSystem) Include file: <sys/param.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:20: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:21: information: (missingIncludeSystem) Include file: <sys/stat.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:24: information: (missingInclude) Include file: "config.h" not found.
os_solaris.cpp:227: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:228: information: (missingIncludeSystem) Include file: <sys/scsi/generic/commands.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:229: information: (missingIncludeSystem) Include file: <sys/scsi/generic/status.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:230: information: (missingIncludeSystem) Include file: <sys/scsi/impl/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:231: information: (missingIncludeSystem) Include file: <sys/scsi/impl/uscsi.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_solaris.cpp:296: style: (variableScope) The scope of the variable 'trunc' can be reduced.
os_solaris.cpp:205: style: (constParameterPointer) Parameter 'type' can be declared as pointer to const
os_win32.cpp:17: information: (missingInclude) Include file: "config.h" not found.
os_win32/wmiquery.h:16: information: (missingIncludeSystem) Include file: <wbemcli.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/wmiquery.h:18: information: (missingIncludeSystem) Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen.h:16: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32.cpp:36: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32.cpp:45: information: (missingIncludeSystem) Include file: <stddef.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32.cpp:47: information: (missingIncludeSystem) Include file: <windows.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32.cpp:48: information: (missingIncludeSystem) Include file: <ntddscsi.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32.cpp:4302: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
os_win32.cpp:39: information: (missingIncludeSystem) Include file: <assert.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.h:14: information: (missingIncludeSystem) Include file: <grp.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.h:15: information: (missingIncludeSystem) Include file: <pwd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.h:16: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.h:17: information: (missingIncludeSystem) Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:16: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:17: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:18: information: (missingIncludeSystem) Include file: <signal.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:19: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:20: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:21: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:22: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:23: information: (missingIncludeSystem) Include file: <sys/wait.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
popen_as_ugid.cpp:180: warning: (invalidScanfArgType_int) %n in format string (no. 2) requires 'int *' but the argument type is 'signed int'.
popen_as_ugid.cpp:197: warning: (invalidScanfArgType_int) %n in format string (no. 2) requires 'int *' but the argument type is 'signed int'.
scsiata.cpp:42: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiata.cpp:43: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiata.cpp:44: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiata.cpp:45: information: (missingIncludeSystem) Include file: <ctype.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiata.cpp:46: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiata.cpp:48: information: (missingInclude) Include file: "config.h" not found.
scsiata.cpp:752: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
scsicmds.cpp:27: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.cpp:28: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.cpp:29: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.cpp:30: information: (missingIncludeSystem) Include file: <ctype.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsicmds.cpp:32: information: (missingInclude) Include file: "config.h" not found.
scsinvme.cpp:12: information: (missingInclude) Include file: "config.h" not found.
scsinvme.cpp:21: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsinvme.cpp:421: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
scsiprint.cpp:14: information: (missingInclude) Include file: "config.h" not found.
scsiprint.cpp:17: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiprint.cpp:18: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiprint.cpp:19: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiprint.cpp:20: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiprint.cpp:21: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
scsiprint.cpp:3499: information: (checkLevelNormal) Limiting ValueFlow analysis in function 'scsiPrintMain' since it is too complex. Please specify --check-level=exhaustive to perform full analysis.
scsicmds.cpp:318: style: (duplicateCondition) The if condition is the same as the previous if condition
scsicmds.cpp:279: style: (knownConditionTrueFalse) Condition 'no_ascii' is always true
scsicmds.cpp:837: style: (knownConditionTrueFalse) Condition '6==naa' is always true
scsicmds.cpp:2069: style: (knownConditionTrueFalse) Condition 'pagesize<4' is always false
scsicmds.cpp:85: style: (cstyleCast) C-style pointer casting
scsicmds.cpp:865: style: (cstyleCast) C-style pointer casting
scsicmds.cpp:3140: style: (cstyleCast) C-style pointer casting
scsicmds.cpp:514: style: (variableScope) The scope of the variable 'cdb0' can be reduced.
scsicmds.cpp:1591: style: (variableScope) The scope of the variable 'act_len' can be reduced.
scsicmds.cpp:2795: style: (constVariablePointer) Variable 'ucp' can be declared as pointer to const
scsiprint.cpp:1034: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:1037: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:1042: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2112: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2120: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2128: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2136: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2144: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2274: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2299: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2879: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:2910: style: (cstyleCast) C-style pointer casting
scsiprint.cpp:1459: style: (variableScope) The scope of the variable 'loop_pc' can be reduced.
scsiprint.cpp:1459: style: (variableScope) The scope of the variable 'pl' can be reduced.
scsiprint.cpp:2188: style: (variableScope) The scope of the variable 'all_not_avail' can be reduced.
scsiprint.cpp:2530: style: (variableScope) The scope of the variable 'q' can be reduced.
scsiprint.cpp:2838: style: (variableScope) The scope of the variable 'q' can be reduced.
scsiprint.cpp:2927: style: (variableScope) The scope of the variable 'lb_prov_j' can be reduced.
scsiprint.cpp:3087: style: (constVariablePointer) Variable 's_vpd_pp' can be declared as pointer to const
scsiprint.cpp:644: style: (unreadVariable) Variable 'jref["accum_power_on_hours"]' is assigned a value that is never used.
smartctl.cpp:13: information: (missingInclude) Include file: "config.h" not found.
smartctl.cpp:16: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:17: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:18: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:19: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:20: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:21: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:22: information: (missingIncludeSystem) Include file: <stdarg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:23: information: (missingIncludeSystem) Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:24: information: (missingIncludeSystem) Include file: <getopt.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:43: information: (missingInclude) Include file: "svnversion.h" not found.
smartctl.cpp:46: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If CONFIG_H_CVSID is a macro then please configure it.
smartctl.cpp:27: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartctl.cpp:31: information: (missingIncludeSystem) Include file: <sys/param.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:12: information: (missingInclude) Include file: "config.h" not found.
smartd.cpp:16: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:17: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:18: information: (missingIncludeSystem) Include file: <sys/types.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:19: information: (missingIncludeSystem) Include file: <sys/stat.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:20: information: (missingIncludeSystem) Include file: <signal.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:21: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:22: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:23: information: (missingIncludeSystem) Include file: <syslog.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:24: information: (missingIncludeSystem) Include file: <stdarg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:25: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:26: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:27: information: (missingIncludeSystem) Include file: <time.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:28: information: (missingIncludeSystem) Include file: <limits.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:29: information: (missingIncludeSystem) Include file: <getopt.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:31: information: (missingIncludeSystem) Include file: <algorithm> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:32: information: (missingIncludeSystem) Include file: <map> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:33: information: (missingIncludeSystem) Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:34: information: (missingIncludeSystem) Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:35: information: (missingIncludeSystem) Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:39: information: (missingIncludeSystem) Include file: <sys/wait.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:1688: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If SMARTMONTOOLS_SMARTDSCRIPTDIR is a macro then please configure it.
smartd.cpp:61: information: (missingIncludeSystem) Include file: <cap-ng.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:65: information: (missingIncludeSystem) Include file: <systemd/sd-daemon.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:52: information: (missingIncludeSystem) Include file: <io.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:53: information: (missingIncludeSystem) Include file: <process.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.h:16: information: (missingIncludeSystem) Include file: <signal.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:6173: error: (unknownMacro) There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it.
smartd.cpp:42: information: (missingIncludeSystem) Include file: <unistd.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
smartd.cpp:57: information: (missingIncludeSystem) Include file: <io.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:17: information: (missingInclude) Include file: "config.h" not found.
utility.cpp:20: information: (missingIncludeSystem) Include file: <inttypes.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:21: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:22: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:23: information: (missingIncludeSystem) Include file: <time.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:24: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:25: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:26: information: (missingIncludeSystem) Include file: <ctype.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:27: information: (missingIncludeSystem) Include file: <stdarg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:28: information: (missingIncludeSystem) Include file: <sys/stat.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:36: information: (missingIncludeSystem) Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:38: information: (missingInclude) Include file: "svnversion.h" not found.
utility.cpp:53: information: (missingIncludeSystem) Include file: <chrono> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:685: style: (cstyleCast) C-style pointer casting
utility.cpp:355: style: (constVariablePointer) Variable 'tmval' can be declared as pointer to const
utility.cpp:30: information: (missingIncludeSystem) Include file: <locale.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:33: information: (missingIncludeSystem) Include file: <mbstring.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
utility.cpp:296: style: (cstyleCast) C-style pointer casting
utility.cpp:217: style: (cstyleCast) C-style pointer casting
utility.cpp:219: style: (cstyleCast) C-style pointer casting
utility.cpp:396: information: (unmatchedSuppression) Unmatched suppression: variableScope
cissio_freebsd.h:38: information: (missingIncludeSystem) Include file: <sys/ioccom.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.cpp:19: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.cpp:20: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.cpp:21: information: (missingIncludeSystem) Include file: <signal.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.cpp:22: information: (missingIncludeSystem) Include file: <io.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.cpp:25: information: (missingIncludeSystem) Include file: <windows.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:16: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:17: information: (missingIncludeSystem) Include file: <fcntl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:18: information: (missingIncludeSystem) Include file: <io.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:19: information: (missingIncludeSystem) Include file: <signal.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:20: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:21: information: (missingIncludeSystem) Include file: <string.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:23: information: (missingIncludeSystem) Include file: <windows.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/popen_win32.cpp:186: style: (cstyleCast) C-style pointer casting
os_win32/daemon_win32.cpp:421: warning: (ignoredReturnValue) Return value of function freopen() is not used.
os_win32/daemon_win32.cpp:423: warning: (ignoredReturnValue) Return value of function freopen() is not used.
os_win32/daemon_win32.cpp:425: warning: (ignoredReturnValue) Return value of function freopen() is not used.
os_win32/syslog.h:16: information: (missingIncludeSystem) Include file: <stdarg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/syslog_win32.cpp:18: information: (missingIncludeSystem) Include file: <stdlib.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/syslog_win32.cpp:19: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/syslog_win32.cpp:20: information: (missingIncludeSystem) Include file: <time.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/syslog_win32.cpp:21: information: (missingIncludeSystem) Include file: <errno.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/syslog_win32.cpp:22: information: (missingIncludeSystem) Include file: <process.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/syslog_win32.cpp:25: information: (missingIncludeSystem) Include file: <windows.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.cpp:763: style: (cstyleCast) C-style pointer casting
os_win32/daemon_win32.cpp:769: style: (cstyleCast) C-style pointer casting
os_win32/daemon_win32.cpp:987: style: (cstyleCast) C-style pointer casting
os_win32/daemon_win32.cpp:492: style: (constParameterPointer) Parameter 's' can be declared as pointer to const
os_win32/syslog_win32.cpp:34: style: (constParameterPointer) Parameter 'strings' can be declared as pointer to const
os_win32/wmiquery.cpp:11: information: (missingInclude) Include file: "config.h" not found.
os_win32/wmiquery.cpp:17: information: (missingIncludeSystem) Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/daemon_win32.cpp:27: information: (missingIncludeSystem) Include file: <crtdbg.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
os_win32/wmiquery.cpp:110: style: (cstyleCast) C-style pointer casting
nofile:0: information: (checkersReport) Active checkers: There was critical errors (use --checkers-report=<filename> to see details)