diff options
Diffstat (limited to 'cpp/src')
-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) |