my current use case is gcc-4.6 introducing a new warning, with -Wall, which in combination with -Werror lets the build fail. I changed the compiler specs to pass -Wno-error=unused-but-set-variable if -Werror is passed, so that the build succeeds with a warning. So it actually is a build failure, but avoided by a workaround, with the hope to get a successful build or to catch other build failures. The spec change is only temporary, and will be reverted before a release.
I think that cross checking would be useful to see if the issue already is reported in lp.
my current use case is gcc-4.6 introducing a new warning, with -Wall, which in combination with -Werror lets the build fail. I changed the compiler specs to pass -Wno-error= unused- but-set- variable if -Werror is passed, so that the build succeeds with a warning. So it actually is a build failure, but avoided by a workaround, with the hope to get a successful build or to catch other build failures. The spec change is only temporary, and will be reverted before a release.
I think that cross checking would be useful to see if the issue already is reported in lp.