[Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
andi at mozilla dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 18 13:18:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600
--- Comment #8 from Andi <andi at mozilla dot com> ---
(In reply to Jonathan Wakely from comment #7)
> (In reply to Andi from comment #0)
> > Building firefox with gcc8 trunk i get this error:
>
> This is a warning, not an error.
>
> If you use -Werror to cause compilation to fail that's your choice, but it's
> still just a warning as far as we're concerned.
>
> If you can't build because you choose to use -Werror then don't use -Werror.
Indeed the build was ran with -Werror since we wanted to see what are our
blockers.
More information about the Gcc-bugs
mailing list