%% "J. Grant" <[EMAIL PROTECTED]> writes:
jg> This is the other file, disable_mscv_w32_config.h_warnings.patch:
jg> --- config.h.W32 2005-12-13 14:47:25.000000000 +0000
jg> +++ config.h.W32.new 2006-01-14 23:33:50.000000000 +0000
jg> @@ -427,6 +427,14 @@
jg> /* Define to the installation directory for locales. */
jg> #define LOCALEDIR ""
jg> +#ifdef _MSC_VER
jg> +#if _MSC_VER > 1000
jg> +#pragma warning (disable : 4127) /* conditional expression is constant */
jg> +#pragma warning (disable : 4702) /* unreachable code */
jg> +#pragma warning (disable : 4100) /* unreferenced formal parameter */
jg> +#endif
jg> +#endif
jg> +
The latest CVS code already has this, from a patch by Rob Tulloh:
/* Suppress some Visual C++ warnings.
Maybe after the code cleanup for ISO C we can remove some/all of these. */
#if _MSC_VER > 1000
# pragma warning(disable:4100) /* unreferenced formal parameter */
# pragma warning(disable:4127) /* conditional expression is constant */
# pragma warning(disable:4702) /* unreachable code */
#endif
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32