[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 4 Apr 2016 11:51:53 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
On 04/04/2016 11:22 AM, Lars Magne Ingebrigtsen wrote:
There's a lot fewer warnings when compiling with -Wall in emacs/src now
than there used to be, but there should be none, I think.
I'm getting no warnings when I build.
Are there any of them that, like, are there for a reason (i.e., we
disagree with the gcc people that those things should be warned about),
or are they all things that should be fixed?
It's more the other way around: -Wall doesn't generate enough warnings.
Please try './configure --enable-gcc-warnings'. This uses -Wall plus
some other warning flags that are useful in practice. I regularly check
that this builds cleanly for recent GCC on my platform (Fedora 23, GCC
5.3.1 20151207 (Red Hat 5.3.1-2)), and occasionally for recent Ubuntu,
both using default configure-time options.
If you'd like to take up the burden of porting --enable-gcc-warnings to
other platforms feel free, though my suggestion is to not bother with
older and/or rarely-used platforms as they have too many bugs in this area.
Re: -Wall, John Wiegley, 2016/04/04
- -Wall, Lars Magne Ingebrigtsen, 2016/04/04
- Re: -Wall,
Paul Eggert <=
- Re: -Wall, Lars Magne Ingebrigtsen, 2016/04/04
- Re: -Wall, Paul Eggert, 2016/04/04
- Re: -Wall, Lars Magne Ingebrigtsen, 2016/04/05
- Re: -Wall, Eli Zaretskii, 2016/04/05
- Re: -Wall, Paul Eggert, 2016/04/05
- Re: -Wall, Lars Magne Ingebrigtsen, 2016/04/06
- Re: -Wall, Stefan Monnier, 2016/04/06
- Re: -Wall, Paul Eggert, 2016/04/07