Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / sdcc_vc_in.h
index 01f454ac50ebf52b1bf95aa3b6bb5c7f40c416e8..55fee18670bee74b3e0baccd477596c6846c1e39 100644 (file)
@@ -11,6 +11,8 @@
 #define __FUNCTION__  __FILE__
 #endif
 
+#define __func__      __FUNCTION__
+
 #define DIR_SEPARATOR_STRING "\\"
 #define DIR_SEPARATOR_CHAR   '\\'
 
@@ -38,7 +40,7 @@
 #define STD_LONG_LIB          "liblong"
 #define STD_FP_LIB            "libfloat"
 #define STD_DS390_LIB         "libds390"
-#define STD_DS400_LIB        "libds400"
+#define STD_DS400_LIB         "libds400"
 /* #undef STD_XA51_LIB */
 
 /* #undef HAVE_SYS_SOCKET_H */
@@ -62,6 +64,9 @@
 
 /* #undef WORDS_BIGENDIAN */
 
+/* for flex 2.5.35 and greater */
+#define YY_NO_UNISTD_H  1
+
 #undef OPT_DISABLE_MCS51
 #undef OPT_DISABLE_GBZ80
 #undef OPT_DISABLE_Z80
 #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 */