COMP: shut up warnings

This commit is contained in:
Ken Martin 2007-03-05 10:36:06 -05:00
parent d443963d91
commit 420095c013
4 changed files with 21 additions and 0 deletions

View File

@ -34,6 +34,11 @@
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* turn off some warning as this is generated code */
#if defined(_MSC_VER)
# pragma warning ( disable : 4702 ) /* unreachable code */
#endif
/* Identify Bison output. */
#define YYBISON 1

View File

@ -33,6 +33,12 @@
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* turn off some warning as this is generated code */
#if defined(_MSC_VER)
# pragma warning ( disable : 4244 ) /* loss of precision */
# pragma warning ( disable : 4702 ) /* unreachable code */
#endif
/* Identify Bison output. */
#define YYBISON 1

View File

@ -33,6 +33,11 @@
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* turn off some warning as this is generated code */
#if defined(_MSC_VER)
# pragma warning ( disable : 4702 ) /* unreachable code */
#endif
/* Identify Bison output. */
#define YYBISON 1

View File

@ -33,6 +33,11 @@
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* turn off some warning as this is generated code */
#if defined(_MSC_VER)
# pragma warning ( disable : 4702 ) /* unreachable code */
#endif
/* Identify Bison output. */
#define YYBISON 1