[CentOS] why are warning be treated as errors?

Thu Apr 7 14:01:22 UTC 2011
Neil Viglieno <neil at viglieno.net>

On Thu, 2011-04-07 at 09:10 -0400, Steve Clark wrote:
> Hello,
> I am trying to compile RHEL-6 kernel srpm on Fedora 14 and run into
> the following problem. From what I read
> -Werror flag causes warnings to be treated as errors - but I don't see
> that flag on in the following. Any ideas?

Fedora 14 ships with gcc 4.5.1 and RHEL 6 is shipped with gcc 4.4.4

I would try compiling on either a Fedora 12 (gcc 4.4.4) or Fedora 13
(gcc 4.4.5) too see if you get the same issue.