configure: use additive warnings instead of subtracting from -Wall
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Aug 2020 00:39:41 +0000 (20:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Aug 2020 00:39:41 +0000 (20:39 -0400)
commit0a312d34b98940f6543b4ae07077d1d59d0afe5b
treee7862f3507cd1492ae145bf3db4623a4bb09db73
parente7f808e3595ad3111edec57270bdc088f64a418b
configure: use additive warnings instead of subtracting from -Wall

-Wall varies too much by compiler and version. rather than trying to
track all the unwanted style warnings that need to be subtracted, just
enable wanted warnings.

also, move -Wno-pointer-to-int-cast outside --enable-warnings
conditional so that it always applies, since it's turning off a
nuisance warning that's on-by-default with most compilers.
configure