|
From: | J. Grant |
Subject: | Re: W32 Warning disabled, and updated vcproj file |
Date: | Wed, 18 Jan 2006 23:31:11 +0000 |
User-agent: | Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.7.12) Gecko/20051013 Debian/1.7.12-1ubuntu1 |
Hiya,
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
Doesn't it need the #ifdef _MSC_VER ? I seem to remember this being requiredcould even be #if defined(_MSC_VER) && _MSC_VER > 1000 (was not sure when the
"defined" if option was introduced)
# pragma warning(disable:4100) /* unreferenced formal parameter */ # pragma warning(disable:4127) /* conditional expression is constant */ # pragma warning(disable:4702) /* unreachable code */ #endif
Ok, that's good that they are in. Kind regards JG
[Prev in Thread] | Current Thread | [Next in Thread] |