Disable warnings for extras/getopt.

- This isn't our code so we don't care about these warnings.
This commit is contained in:
Ari Koivula 2014-04-04 12:31:42 +03:00
parent 7239b59e94
commit 69ac9176a5

View file

@ -31,6 +31,11 @@
# include <config.h> # include <config.h>
#endif #endif
/* Don't show warnings about unusued parameters or old style decl. */
#ifdef _MSC_VER
# pragma warning(disable : 4100 4131)
#endif
#if !defined __STDC__ || !__STDC__ #if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems /* This is a separate conditional since some stdc systems
reject `defined (const)'. */ reject `defined (const)'. */