On Fri, Mar 11, 2011 at 4:41 AM, Diego Novillo <dnovi...@google.com> wrote:
> After -Werror is triggered, we are now emitting an extra blank line
> that we were not emitting before.  Was this change intentional?  Does
> anyone recognize this?
>
> $ cat a.cc
> char c = 257;
> $ g++-4.4.3 -c -o /dev/null -Werror a.cc
> cc1plus: warnings being treated as errors
> a.cc:1: error: overflow in implicit constant conversion
> $
>
> But with trunk, I get:
>
> $ ~/gcc-trunk/native/bin/g++ -c -o /dev/null -Werror a.cc
> a.cc:1:10: error: overflow in implicit constant conversion [-Werror=overflow]
> cc1plus: all warnings being treated as errors
> [... extra blank line ...]
> $
>
> It looks odd.  Should we change it back to the old way?  (maybe I just
> missed the documentation on the change).

I think it's a bug.

Richard.

Reply via email to