new #pragma LESS_PEDANTIC
[fw/sdcc] / src / SDCCglobl.h
index d10b1938b67af6f286b69c3c24870bddde540700..175aaa2bdde1ea5d4f860b1b245fffde04d4665a 100644 (file)
@@ -1,12 +1,17 @@
 /* SDCCglobl.h - global macros etc required by all files */
+
 #ifndef SDCCGLOBL_H
 #define SDCCGLOBL_H
+
 #include <memory.h>
 #include <assert.h>
 #include <stdlib.h>
 #include <setjmp.h>
 #include <stdio.h>
 
+#include "SDCCset.h"
+
+
 /*
  * Define host port dependant constants etc.
  */
 #include "sdccconf.h"
 #else
 #include "sdcc_vc.h"
+#define PATH_MAX                _MAX_PATH
 #endif
 #define DIR_SEPARATOR_CHAR     DOS_DIR_SEPARATOR_CHAR
 #define DIR_SEPARATOR_STRING   DOS_DIR_SEPARATOR_STRING
-#define PATH_MAX                _MAX_PATH
 
 #else               /* Assume Un*x style system */
 
@@ -92,6 +97,8 @@ typedef int bool;
 #define PRAGMA_EXCLUDE     "EXCLUDE"
 #define PRAGMA_NOIV        "NOIV"
 #define PRAGMA_OVERLAY     "OVERLAY"
+#define PRAGMA_LESSPEDANTIC "LESS_PEDANTIC"
+
 #define  SMALL_MODEL 0
 #define  LARGE_MODEL 1
 #define  TRUE 1
@@ -294,6 +301,7 @@ extern int nlibFiles;
 extern char *libPaths[128];
 extern int nlibPaths;
 
+void setParseWithComma (set **, char *);
 void parseWithComma (char **, char *);
 
 /** Creates a temporary file a'la tmpfile which avoids the bugs