diff options
Diffstat (limited to 'cpp/src/Slice/Scanner.l')
-rw-r--r-- | cpp/src/Slice/Scanner.l | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/Slice/Scanner.l b/cpp/src/Slice/Scanner.l index 2363abeb847..1d981e3e567 100644 --- a/cpp/src/Slice/Scanner.l +++ b/cpp/src/Slice/Scanner.l @@ -37,6 +37,16 @@ # define YY_NO_UNISTD_H #endif +#ifdef __SUNPRO_CC +# ifdef slice_wrap +# undef slice_wrap +# define slice_wrap() 1 +# endif +# ifdef ICE_64 +# pragma error_messages(off,truncwarn) +# endif +#endif + using namespace std; using namespace Slice; |