X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..a0845d45830eb22769107a61a6cb3485fa21922b:/contrib/src/deprecated/dosyacc.c diff --git a/contrib/src/deprecated/dosyacc.c b/contrib/src/deprecated/dosyacc.c index e7a33d4a3e..6b03b4159d 100644 --- a/contrib/src/deprecated/dosyacc.c +++ b/contrib/src/deprecated/dosyacc.c @@ -1,12 +1,18 @@ /* Copyright: (c) Julian Smart */ /* Licence: wxWindows Licence */ /* include platform.h first to get __WIN32__ definition */ + #include "wx/platform.h" #include "wx/setup.h" #include "wx/deprecated/setup.h" #if !defined(wxUSE_PROLOGIO) || wxUSE_PROLOGIO +#ifdef __VISUALC__ + #pragma warning(push) + #pragma warning(disable:4244) /* warning C4244: '=' : conversion from 'A' to 'B', possible loss of data */ +#endif + #if !defined(lint) && 0 static char yysccsid[] = "@(#)yaccpar 1.7 (Berkeley) 09/09/90"; #endif @@ -260,7 +266,7 @@ void yyerror(char *s) #endif #endif #endif - + // #line 247 "y_tab.c" #define YYABORT goto yyabort #define YYACCEPT goto yyaccept @@ -539,4 +545,8 @@ yyaccept: return (0); } +#ifdef __VISUALC__ + #pragma warning(pop) +#endif + #endif /* wxUSE_PROLOGIO */