Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364467 - Tweak QA logging for gcc-4.6-style warnings
Summary: Tweak QA logging for gcc-4.6-style warnings
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 358927
  Show dependency tree
 
Reported: 2011-04-22 09:53 UTC by Ryan Hill (RETIRED)
Modified: 2011-05-05 19:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
portage-gcc46-warnings.patch (portage-gcc46-warnings.patch,3.34 KB, patch)
2011-04-22 09:53 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2011-04-22 09:53:36 UTC
Created attachment 270863 [details, diff]
portage-gcc46-warnings.patch

As of 4.6, every warning GCC emits is followed by the name of the option that triggered it.

eg: fsys_fat.c:156:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

Several of the existing rules for matching warning strings end with "$" so we weren't flagging them for QA anymore.  I also dropped some unneeded trailing whitespace while I was at it.
Comment 2 Zac Medico gentoo-dev 2011-05-05 19:51:42 UTC
This is in 2.1.9.47 and 2.2.0_alpha31.