make cpp2 -> bin/sdcpp
[fw/sdcc] / support / Util / SDCCerr.c
index 08f03e42d3d535e1d02f8b84260fc252a819389b..795eb9fe27dffdec9c2b8f5ca7ce225f76748ee1 100644 (file)
@@ -83,8 +83,8 @@ struct
    " a 'sfr','sbit' storage class, initial value ignored '%s'" },
 { E_INIT_IGNORED, ERROR_LEVEL_WARNING,
    "Variable in the storage class cannot be initialized.'%s'" },
-{ E_AUTO_ASSUMED, ERROR_LEVEL_WARNING,
-   "storage class not allowed for automatic variable '%s' in reentrant function" },
+{ E_AUTO_ASSUMED, ERROR_LEVEL_ERROR,
+   "storage class not allowed for automatic variable '%s' in reentrant function unless static" },
 { E_AUTO_ABSA, ERROR_LEVEL_ERROR,
    "absolute address not allowed for automatic var '%s' in reentrant function " },
 { E_INIT_WRONG, ERROR_LEVEL_WARNING,
@@ -349,7 +349,18 @@ struct
     "two or more storage classes in declaration for '%s'" },
 { W_EXESS_ARRAY_INITIALIZERS, ERROR_LEVEL_WARNING,
     "excess elements in array initializer after `%s' at line %d" },
+{ E_ARGUMENT_MISSING, ERROR_LEVEL_ERROR,
+   "Option %s requires an argument." },
+{ W_STRAY_BACKSLASH, ERROR_LEVEL_WARNING,
+    "stray '\\' at column %d" },
+{ W_NEWLINE_IN_STRING, ERROR_LEVEL_WARNING,
+    "newline in string constant" },
+{ E_CANNOT_USE_GENERIC_POINTER, ERROR_LEVEL_ERROR,
+    "cannot use generic pointer %s to initialize %s" },
+{ W_EXCESS_SHORT_OPTIONS, ERROR_LEVEL_WARNING,
+    "Only one short option can be specified at a time.  Rest of %s ignored." }
 };
+
 /*
 -------------------------------------------------------------------------------
 SetErrorOut - Set the error output file