diff options
Diffstat (limited to 'linden/indra/lscript/lscript_compile/indra.y')
-rw-r--r-- | linden/indra/lscript/lscript_compile/indra.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/lscript/lscript_compile/indra.y b/linden/indra/lscript/lscript_compile/indra.y index 56f40c9..d10cbfe 100644 --- a/linden/indra/lscript/lscript_compile/indra.y +++ b/linden/indra/lscript/lscript_compile/indra.y | |||
@@ -1,7 +1,7 @@ | |||
1 | %{ | 1 | %{ |
2 | #include "stdtypes.h" | 2 | #include "linden_common.h" |
3 | #include "lscript_tree.h" | 3 | #include "lscript_tree.h" |
4 | 4 | ||
5 | #ifdef __cplusplus | 5 | #ifdef __cplusplus |
6 | extern "C" { | 6 | extern "C" { |
7 | #endif | 7 | #endif |
@@ -16,6 +16,7 @@ | |||
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #ifdef LL_WINDOWS | 18 | #ifdef LL_WINDOWS |
19 | #pragma warning (disable : 4702) // warning C4702: unreachable code | ||
19 | #pragma warning( disable : 4065 ) // warning: switch statement contains 'default' but no 'case' labels | 20 | #pragma warning( disable : 4065 ) // warning: switch statement contains 'default' but no 'case' labels |
20 | #endif | 21 | #endif |
21 | 22 | ||