diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-08-15 01:10:37 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-08-15 01:10:37 +0000 |
commit | 441c155e6e11e40032111e56efe52107aa4e65ea (patch) | |
tree | 130be4ac4b26444ab908f4e8f54e368e0616052a /cpp/src/slice2cppe/Gen.cpp | |
parent | Removed -DICEE (diff) | |
download | ice-441c155e6e11e40032111e56efe52107aa4e65ea.tar.bz2 ice-441c155e6e11e40032111e56efe52107aa4e65ea.tar.xz ice-441c155e6e11e40032111e56efe52107aa4e65ea.zip |
pragma warning( disable : 4717 ) in generated code for WCE.
Diffstat (limited to 'cpp/src/slice2cppe/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cppe/Gen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/slice2cppe/Gen.cpp b/cpp/src/slice2cppe/Gen.cpp index 281dce591c4..21bbcf494d3 100644 --- a/cpp/src/slice2cppe/Gen.cpp +++ b/cpp/src/slice2cppe/Gen.cpp @@ -239,6 +239,11 @@ Slice::Gen::generate(const UnitPtr& p) C << "\n#include <IceE/LocalException.h>"; } + C << "\n"; + C << "\n#ifdef _WIN32_WCE"; + C << "\n# pragma warning( disable : 4717 )"; + C << "\n#endif"; + StringList includes = p->includeFiles(); for(StringList::const_iterator q = includes.begin(); q != includes.end(); ++q) |