diff options
author | Jose <jose@zeroc.com> | 2013-01-24 13:43:53 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-01-24 13:43:53 +0100 |
commit | c3d0520f54a21c32315698b66ba6efb3ea5fdc98 (patch) | |
tree | 3220a135fed8043e160fad3adf239fdbb6c2b7e3 /cpp/src/Slice/CsUtil.cpp | |
parent | More fixes for ICE-4841 - changed createInputStream with bool parameter to wr... (diff) | |
download | ice-c3d0520f54a21c32315698b66ba6efb3ea5fdc98.tar.bz2 ice-c3d0520f54a21c32315698b66ba6efb3ea5fdc98.tar.xz ice-c3d0520f54a21c32315698b66ba6efb3ea5fdc98.zip |
Fixed (ICE-5202) VC90 build broken
Diffstat (limited to 'cpp/src/Slice/CsUtil.cpp')
-rw-r--r-- | cpp/src/Slice/CsUtil.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/Slice/CsUtil.cpp b/cpp/src/Slice/CsUtil.cpp index 0bfc5b7c519..4191cbc98cd 100644 --- a/cpp/src/Slice/CsUtil.cpp +++ b/cpp/src/Slice/CsUtil.cpp @@ -7,6 +7,17 @@ // // ********************************************************************** +// +// Disable unreferenced formal parameter warnings +// for VC90 binary_search. +// +#if defined(_MSC_VER) && (_MSC_VER <= 1500) +# pragma warning( push ) +# pragma warning( disable : 4100 ) +# include <algorithm> +# pragma warning( pop ) +#endif + #include <Slice/CsUtil.h> #include <Slice/DotNetNames.h> #include <Slice/Util.h> |