X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sdcc_vc_in.h;h=01f454ac50ebf52b1bf95aa3b6bb5c7f40c416e8;hb=2445815caa572f0151cbb551b2d7b55ef95786ba;hp=4c482f6f73774f8950b46ce36b86850cc39e4b50;hpb=339bf716b650ad0f0e14dc0084167bc99e0bf6e5;p=fw%2Fsdcc diff --git a/sdcc_vc_in.h b/sdcc_vc_in.h index 4c482f6f..01f454ac 100644 --- a/sdcc_vc_in.h +++ b/sdcc_vc_in.h @@ -25,7 +25,7 @@ #define BIN2DATA_DIR "\\.." #define PREFIX2BIN_DIR "\\bin" #define PREFIX2DATA_DIR "" -#define BINDIR PREFIX "\\bin" +#define BINDIR PREFIX "\\bin" /* environment variables */ #define SDCC_DIR_NAME "SDCC_HOME" @@ -39,9 +39,9 @@ #define STD_FP_LIB "libfloat" #define STD_DS390_LIB "libds390" #define STD_DS400_LIB "libds400" -// #undef STD_XA51_LIB +/* #undef STD_XA51_LIB */ -// #undef HAVE_SYS_SOCKET_H +/* #undef HAVE_SYS_SOCKET_H */ #undef HAVE_STRERROR #define HAVE_VSNPRINTF @@ -70,6 +70,17 @@ #undef OPT_DISABLE_PIC #undef OPT_DISABLE_XA51 +#ifndef _DEBUG +/*disable warning C4018: signed/unsigned mismatch*/ +#pragma warning( disable : 4018 ) +/*disable warning C4761: integral: size mismatch in argument; conversion supplied*/ +#pragma warning( disable : 4761 ) +/*disable warning C4146: unary minus operator applied to unsigned type, result still unsigned*/ +#pragma warning( disable : 4146 ) +/*disable warning C4244: 'initializing' : conversion from 'double ' to 'char ', possible loss of data*/ +#pragma warning( disable : 4244 ) +#endif + #endif /* SDCC_VC_HEADER */ /* End of sdcc_vc.h */