]> git.gag.com Git - fw/sdcc/blobdiff - support/Util/SDCCerr.h
Fixed numerous bitfield problems.
[fw/sdcc] / support / Util / SDCCerr.h
index 88023af67d99feccf4579149233c90d4fd6e86a9..30bb73ea64e6006cd42cdb70a27f12c509177aaa 100644 (file)
@@ -180,6 +180,10 @@ 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 */
+#define W_USELESS_DECL 166         /* useless declaration */
+#define E_INT_BAD_INTNO 167         /* invalid interrupt number */
+#define W_BITFLD_NAMED 168          /* declarator used with 0 length bitfield */
 
 /** Describes the maximum error level that will be logged.  Any level
  *  includes all of the levels listed after it.
@@ -235,4 +239,21 @@ werror - Output a standard eror message with variable number of arguements
 
 void   werror (int errNum, ... ) ;
 
+/*
+-------------------------------------------------------------------------------
+fatal - Output a standard eror message with variable number of arguements and
+        call exit()
+-------------------------------------------------------------------------------
+*/
+
+void    fatal (int exitCode, int errNum, ... ) ;
+
+/*
+-------------------------------------------------------------------------------
+style - Change the output error style to MSVC
+-------------------------------------------------------------------------------
+*/
+
+void    MSVC_style (int style) ;
+
 #endif