]> granicus.if.org Git - curl/commit
curl-compilers.m4: disable warning spam with Cygwin's clang
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 8 Jul 2017 15:44:34 +0000 (17:44 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Mon, 10 Jul 2017 08:16:29 +0000 (10:16 +0200)
commitdeadb2348f40e7afa46a03a918f522c67145ebe0
treed88c8249b2d02d823ab381fc4caa29acf07a5a9b
parentaf0216251b94e751baa47146ac9609db70793b8e
curl-compilers.m4: disable warning spam with Cygwin's clang

When building with Cygwin or MinGW, libtool uses a wrapper executable
instead of a wrapper script [1], which is written in C and throws
missing-variable-declarations warnings. Don't enable these warnings on
Cygwin and MinGW in order to avoid warnings for every executable built,
which spams the test suite output when using Cygwin's clang.

[1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html

Closes https://github.com/curl/curl/pull/1665
m4/curl-compilers.m4