X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a410e4453e28ee77ee3ad7a407ca71692f9f30f..bfeed34c1cb102300a9a24a50657304e60486700:/contrib/src/deprecated/dosyacc.c diff --git a/contrib/src/deprecated/dosyacc.c b/contrib/src/deprecated/dosyacc.c index 201fabc7c9..6b03b4159d 100644 --- a/contrib/src/deprecated/dosyacc.c +++ b/contrib/src/deprecated/dosyacc.c @@ -1,10 +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 @@ -258,7 +266,7 @@ void yyerror(char *s) #endif #endif #endif - + // #line 247 "y_tab.c" #define YYABORT goto yyabort #define YYACCEPT goto yyaccept @@ -537,4 +545,8 @@ yyaccept: return (0); } +#ifdef __VISUALC__ + #pragma warning(pop) +#endif + #endif /* wxUSE_PROLOGIO */