Summary: | Add qawarn for -Wsizeof-pointer-memaccess | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | QA | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 468524 | ||
Attachments: | sizeof-pointer-warn.patch |
Thanks, this is in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=160b22ef09edf8b81f68d41b26360fb2525790ba I used the .*\[-Wsizeof-pointer-memaccess\] expression as you suggested. This is fixed in 2.1.12.1 and 2.2.0_alpha176. |
Created attachment 348582 [details, diff] sizeof-pointer-warn.patch This warning is new in gcc 4.8 and is serious enough for a qawarn. Alternatively since all warnings since 4.6 append the flag name we could just grep for ": warning: .*\[-Wsizeof-pointer-memaccess\]" and not worry about the string changing in the future.