From dbf86023c34946a0a48fd7b70d1e80f3eaa43bbd Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Tue, 5 Aug 2003 16:01:15 +0000 Subject: [PATCH] * support/Util/SDCCerr.c: added warning "integer overflow in expression" * support/Util/SDCCerr.h: added warning W_INT_OVL git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2808 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/Util/SDCCerr.c | 2 ++ support/Util/SDCCerr.h | 1 + 2 files changed, 3 insertions(+) diff --git a/support/Util/SDCCerr.c b/support/Util/SDCCerr.c index f28e1506..7e46d97b 100644 --- a/support/Util/SDCCerr.c +++ b/support/Util/SDCCerr.c @@ -385,6 +385,8 @@ struct "duplicate %s member '%s'" }, { E_STACK_VIOLATION, ERROR_LEVEL_ERROR, "'%s' internal stack %s" }, +{ W_INT_OVL, ERROR_LEVEL_WARNING, + "integer overflow in expression" }, }; /* diff --git a/support/Util/SDCCerr.h b/support/Util/SDCCerr.h index c78100c2..70dade38 100644 --- a/support/Util/SDCCerr.h +++ b/support/Util/SDCCerr.h @@ -180,6 +180,7 @@ SDCCERR - SDCC Standard error handler #define W_ILLEGAL_OPT_COMBINATION 162 #define E_DUPLICATE_MEMBER 163 #define E_STACK_VIOLATION 164 /* internal stack violation */ +#define W_INT_OVL 165 /* integer overflow in expression */ /** Describes the maximum error level that will be logged. Any level * includes all of the levels listed after it. -- 2.30.2