aboutsummaryrefslogtreecommitdiff
path: root/libxsde/xsde/c/compilers/ghs/pre.h
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-06-02 13:33:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-06-02 13:33:25 +0200
commit2c97d4f6222c435719bab7f3d290321a77b4877b (patch)
tree361cb382362f61f5c99ac558b315dc1f9c00ac23 /libxsde/xsde/c/compilers/ghs/pre.h
parent264f4b7b9ac4988bef5c14505ce8836285a9c50d (diff)
Disable certain Green Hills C++ compiler warnings
Diffstat (limited to 'libxsde/xsde/c/compilers/ghs/pre.h')
-rw-r--r--libxsde/xsde/c/compilers/ghs/pre.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libxsde/xsde/c/compilers/ghs/pre.h b/libxsde/xsde/c/compilers/ghs/pre.h
new file mode 100644
index 0000000..076ab8a
--- /dev/null
+++ b/libxsde/xsde/c/compilers/ghs/pre.h
@@ -0,0 +1,12 @@
+// file : xsde/c/compilers/ghs/pre.h
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+// Warning pragmas are only available in the new generation compiler.
+//
+// 111 - statement is unreachable
+//
+#ifdef __EDG__
+# pragma ghs nowarning 111
+#endif