Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364467

Summary: Tweak QA logging for gcc-4.6-style warnings
Product: Portage Development Reporter: Ryan Hill (RETIRED) <rhill>
Component: CoreAssignee: Portage team <dev-portage>
Severity: normal CC: qa, toolchain
Priority: Normal Keywords: InVCS
Version: 2.2   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 358927    
Attachments: portage-gcc46-warnings.patch

Description Ryan Hill (RETIRED) gentoo-dev 2011-04-22 09:53:36 UTC
Created attachment 270863 [details, diff]

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 and 2.2.0_alpha31.