Hide Forgot
Description of problem: On the el6 branch gcc is being called with options that result in warnings that cannot be disabled being treated as errors. eg. http://kojipkgs.fedoraproject.org//work/tasks/8032/6158032/build.log -Wno-unused-result was apparently added in gcc 4.5 so it cannot be used to disable the warning/error. This must have changed since the last build of bip since the line in question has been in the source tree since 2005.
Better to just not build with -Werror (which is arguably silly for release builds)
moving to redhat-rpm-config and rhel, which is where it is all defined.
-Werror can be useful for development work but its a terrible idea to use it for "release builds" because of issues like this: compilers can and do grow new warnings over time so code which at some point compiled free of any warnings might trip tonnes of warnings with a later compiler version. NOTABUG, just eliminate the -Werror usage.