From: Vadim Zeitlin Date: Sun, 7 Jun 2009 12:41:52 +0000 (+0000) Subject: disable a VC6 warning occurring inside a standard header X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/845e4f9b322a835cede9be1d742e438d137f295a disable a VC6 warning occurring inside a standard header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/streams/largefile.cpp b/tests/streams/largefile.cpp index 494977d4db..f61d2943d1 100644 --- a/tests/streams/largefile.cpp +++ b/tests/streams/largefile.cpp @@ -36,8 +36,16 @@ #include "wx/wfstream.h" #ifdef __WXMSW__ -#include "wx/msw/wrapwin.h" -#include + #include "wx/msw/wrapwin.h" + #ifdef __VISUALC__ + // 'nonstandard extension used : nameless struct/union' occurs inside + // winioctl.h + #pragma warning(disable:4201) + #endif + #include + #ifdef __VISUALC__ + #pragma warning(default:4201) + #endif #endif #ifdef __VISUALC__