7147: regressions - FAIL
I don't know if it helps, but you could use -Wno-error=unused-but-set-variable instead of -Wno-unused-but-set-variable (ie. still log it but don't treat it as an error). I have been using the patch http://pkgs.fedoraproject.org/gitweb/?p=xen.git;a=blob;f=localgcc46fix.patch;h=e485c3b5887ae65b8ec6f0278b5973469eea3c03;hb=f1397f37927368acbf47514c810809d546b35fb2
in Fedora which includes the option, and it builds for me (on F14, F15 and RHEL6).
Michael Young
Quoted 9 lines · M A Young
I don't know if it helps, but you could use -Wno-error=unused-but-set-variable instead of -Wno-unused-but-set-variable (ie. still log it but don't treat it as an error). I have been using the patch
http://pkgs.fedoraproject.org/gitweb/?p=xen.git;a=blob;f=localgcc46fix.patch;h
=e485c3b5887ae65b8ec6f0278b5973469eea3c03;hb=f1397f37927368acbf47514c810809d54 6b35fb2
in Fedora which includes the option, and it builds for me (on F14, F15 and RHEL6).
Well, it builds as-is for me already, on a recent Fedora. It likely has something to do with the automated-test build environment, which is some Debian version I believe, which surely makes it elderly compared with the Fedoras/OpenSuses that many like me use.
-- Keir
Quoted 1 line
Michael Young