diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-02 13:33:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-02 13:33:25 +0200 |
commit | 2c97d4f6222c435719bab7f3d290321a77b4877b (patch) | |
tree | 361cb382362f61f5c99ac558b315dc1f9c00ac23 /libxsde/xsde/cxx/compilers | |
parent | 264f4b7b9ac4988bef5c14505ce8836285a9c50d (diff) |
Disable certain Green Hills C++ compiler warnings
Diffstat (limited to 'libxsde/xsde/cxx/compilers')
-rw-r--r-- | libxsde/xsde/cxx/compilers/ghs/post.hxx | 8 | ||||
-rw-r--r-- | libxsde/xsde/cxx/compilers/ghs/pre.hxx | 12 |
2 files changed, 20 insertions, 0 deletions
diff --git a/libxsde/xsde/cxx/compilers/ghs/post.hxx b/libxsde/xsde/cxx/compilers/ghs/post.hxx new file mode 100644 index 0000000..9dcdad1 --- /dev/null +++ b/libxsde/xsde/cxx/compilers/ghs/post.hxx @@ -0,0 +1,8 @@ +// file : xsde/cxx/compilers/ghs/post.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +#ifdef __EDG__ +# pragma ghs endnowarning +#endif diff --git a/libxsde/xsde/cxx/compilers/ghs/pre.hxx b/libxsde/xsde/cxx/compilers/ghs/pre.hxx new file mode 100644 index 0000000..ad3217b --- /dev/null +++ b/libxsde/xsde/cxx/compilers/ghs/pre.hxx @@ -0,0 +1,12 @@ +// file : xsde/cxx/compilers/ghs/pre.hxx +// 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. +// +// 997 - virtual function hidden +// +#ifdef __EDG__ +# pragma ghs nowarning 997 +#endif |