summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/scripts/pclint/co-gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/scripts/pclint/co-gcc.h')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/scripts/pclint/co-gcc.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/scripts/pclint/co-gcc.h b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/scripts/pclint/co-gcc.h
new file mode 100644
index 00000000..e948a20f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/scripts/pclint/co-gcc.h
@@ -0,0 +1,35 @@
+#ifndef CO_GCC_H_
+#define CO_GCC_H_
+
+#ifdef _lint /* Make sure no compiler comes this way */
+
+/*
+ The headers included below must be generated; For C++, generate
+ with:
+
+ g++ [usual build options] -E -dM t.cpp >lint_cppmac.h
+
+ For C, generate with:
+
+ gcc [usual build options] -E -dM t.c >lint_cmac.h
+
+ ...where "t.cpp" and "t.c" are empty source files.
+
+ It's important to use the same compiler options used when compiling
+ project code because they can affect the existence and precise
+ definitions of certain predefined macros. See the preamble to
+ co-gcc.lnt for details and a tutorial.
+ */
+#if defined(__cplusplus)
+//# include "lint_cppmac.h"
+#else
+# include "lint_cmac.h"
+#endif
+
+
+/* If the macros given by the generated macro files must be adjusted
+ in order for Lint to cope, then you can do so here. */
+
+
+#endif /* _lint */
+#endif /* CO_GCC_H_ */