Custom Query (1451 matches)
Results (250 - 252 of 1451)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#915 | fixed | Clang generates warnings on compilation "taking address of packed member" on the atacmds.cpp | ||
Description |
atacmds.cpp:1004:12: warning: taking address of packed member 'extend_test_completion_time_w' of class or structure 'ata_smart_values' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&data->extend_test_completion_time_w); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atacmds.cpp:1091:12: warning: taking address of packed member 'log_desc_index' of class or structure 'ata_smart_extselftestlog' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&log->log_desc_index); ^~~~~~~~~~~~~~~~~~~ atacmds.cpp:1198:12: warning: taking address of packed member 'logversion' of class or structure 'ata_smart_log_directory' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&data->logversion); ^~~~~~~~~~~~~~~~ atacmds.cpp:1521:12: warning: taking address of packed member 'device_error_count' of class or structure 'ata_smart_exterrlog' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&log->device_error_count); ^~~~~~~~~~~~~~~~~~~~~~~ atacmds.cpp:1522:12: warning: taking address of packed member 'error_log_index' of class or structure 'ata_smart_exterrlog' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&log->error_log_index); ^~~~~~~~~~~~~~~~~~~~ atacmds.cpp:2260:12: warning: taking address of packed member 'format_version' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->format_version); ^~~~~~~~~~~~~~~~~~~ atacmds.cpp:2261:12: warning: taking address of packed member 'sct_version' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->sct_version); ^~~~~~~~~~~~~~~~ atacmds.cpp:2262:12: warning: taking address of packed member 'sct_spec' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->sct_spec); ^~~~~~~~~~~~~ atacmds.cpp:2263:12: warning: taking address of packed member 'ext_status_code' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->ext_status_code); ^~~~~~~~~~~~~~~~~~~~ atacmds.cpp:2264:12: warning: taking address of packed member 'action_code' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->action_code); ^~~~~~~~~~~~~~~~ atacmds.cpp:2265:12: warning: taking address of packed member 'function_code' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->function_code); ^~~~~~~~~~~~~~~~~~ atacmds.cpp:2266:12: warning: taking address of packed member 'over_limit_count' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->over_limit_count); ^~~~~~~~~~~~~~~~~~~~~ atacmds.cpp:2267:12: warning: taking address of packed member 'under_limit_count' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->under_limit_count); ^~~~~~~~~~~~~~~~~~~~~~ atacmds.cpp:2268:12: warning: taking address of packed member 'smart_status' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->smart_status); ^~~~~~~~~~~~~~~~~ atacmds.cpp:2269:12: warning: taking address of packed member 'min_erc_time' of class or structure 'ata_sct_status_response' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&sts->min_erc_time); ^~~~~~~~~~~~~~~~~ atacmds.cpp:2302:12: warning: taking address of packed member 'action_code' of class or structure 'ata_sct_data_table_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.action_code); ^~~~~~~~~~~~~~~ atacmds.cpp:2303:12: warning: taking address of packed member 'function_code' of class or structure 'ata_sct_data_table_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.function_code); ^~~~~~~~~~~~~~~~~ atacmds.cpp:2304:12: warning: taking address of packed member 'table_id' of class or structure 'ata_sct_data_table_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.table_id); ^~~~~~~~~~~~ atacmds.cpp:2332:12: warning: taking address of packed member 'format_version' of class or structure 'ata_sct_temperature_history_table' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&tmh->format_version); ^~~~~~~~~~~~~~~~~~~ atacmds.cpp:2333:12: warning: taking address of packed member 'sampling_period' of class or structure 'ata_sct_temperature_history_table' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&tmh->sampling_period); ^~~~~~~~~~~~~~~~~~~~ atacmds.cpp:2334:12: warning: taking address of packed member 'interval' of class or structure 'ata_sct_temperature_history_table' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&tmh->interval); ^~~~~~~~~~~~~ atacmds.cpp:2335:12: warning: taking address of packed member 'cb_index' of class or structure 'ata_sct_temperature_history_table' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&tmh->cb_index); ^~~~~~~~~~~~~ atacmds.cpp:2336:12: warning: taking address of packed member 'cb_size' of class or structure 'ata_sct_temperature_history_table' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&tmh->cb_size); ^~~~~~~~~~~~ atacmds.cpp:2369:12: warning: taking address of packed member 'action_code' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.action_code); ^~~~~~~~~~~~~~~ atacmds.cpp:2370:12: warning: taking address of packed member 'function_code' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.function_code); ^~~~~~~~~~~~~~~~~ atacmds.cpp:2371:12: warning: taking address of packed member 'feature_code' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.feature_code); ^~~~~~~~~~~~~~~~ atacmds.cpp:2372:12: warning: taking address of packed member 'state' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.state); ^~~~~~~~~ atacmds.cpp:2373:12: warning: taking address of packed member 'option_flags' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.option_flags); ^~~~~~~~~~~~~~~~ atacmds.cpp:2449:12: warning: taking address of packed member 'action_code' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.action_code); ^~~~~~~~~~~~~~~ atacmds.cpp:2450:12: warning: taking address of packed member 'function_code' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.function_code); ^~~~~~~~~~~~~~~~~ atacmds.cpp:2451:12: warning: taking address of packed member 'feature_code' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.feature_code); ^~~~~~~~~~~~~~~~ atacmds.cpp:2452:12: warning: taking address of packed member 'state' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.state); ^~~~~~~~~ atacmds.cpp:2453:12: warning: taking address of packed member 'option_flags' of class or structure 'ata_sct_feature_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.option_flags); ^~~~~~~~~~~~~~~~ atacmds.cpp:2501:12: warning: taking address of packed member 'action_code' of class or structure 'ata_sct_error_recovery_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.action_code); ^~~~~~~~~~~~~~~ atacmds.cpp:2502:12: warning: taking address of packed member 'function_code' of class or structure 'ata_sct_error_recovery_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.function_code); ^~~~~~~~~~~~~~~~~ atacmds.cpp:2503:12: warning: taking address of packed member 'selection_code' of class or structure 'ata_sct_error_recovery_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.selection_code); ^~~~~~~~~~~~~~~~~~ atacmds.cpp:2504:12: warning: taking address of packed member 'time_limit' of class or structure 'ata_sct_error_recovery_control_command' may result in an unaligned pointer value [-Waddress-of-packed-member] swapx(&cmd.time_limit); ^~~~~~~~~~~~~~ 37 warnings generated. Clang version: clang -v Apple LLVM version 9.0.0 (clang-900.0.37) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin |
|||
#925 | invalid | creating test ticket to test new trac version | ||
Description |
test |
|||
#941 | fixed | update-smart-drivedb is not able to find gpg on osx due to redefined path | ||
Description |
Tool 292 AC_ARG_WITH(scriptpath, 293 [AS_HELP_STRING([--with-scriptpath=@<:@PATH|no@:>@], 294 [PATH variable set within scripts [/usr/bin:/bin]])], 295 [scriptpath=; test "$withval" != "no" && scriptpath="$withval"], 296 [scriptpath="/usr/bin:/bin"]) |
Note:
See TracQuery
for help on using queries.