#define E_PREVIOUS_DEF 177 /* previously defined here */
#define W_SIZEOF_VOID 178 /* size of void is zero */
#define W_POSSBUG2 179 /* possible bug, new format */
+#define W_COMPLEMENT 180 /* ~bit can give unexpected results */
+#define E_SHADOWREGS_NO_ISR 181 /* shadowregs keyword following non-ISR function */
+#define W_SFR_ABSRANGE 182 /* sfr at address out of range */
+#define E_BANKED_WITH_CALLEESAVES 183 /* banked and callee-saves mixed */
+#define W_INVALID_INT_CONST 184 /* invalid integer literal string */
+#define W_CMP_SU_CHAR 185 /* comparison of 'signed char' with 'unsigned char' requires promotion to int */
#define MAX_ERROR_WARNING 256 /* size of disable warnings array */
typedef enum _ERROR_LOG_LEVEL ERROR_LOG_LEVEL;
+struct SDCCERRG {
+ ERROR_LOG_LEVEL logLevel;
+ FILE *out;
+ int style; /* 1=MSVC */
+ char disabled[MAX_ERROR_WARNING]; /* 1=warning disabled*/
+};
+
+extern struct SDCCERRG _SDCCERRG;
+
/** Sets the maximum error level to log.
See MAX_ERROR_LEVEL. The default is ERROR_LEVEL_ALL.
*/