diff --git a/src/__stl__.h b/src/__stl__.h index b80453c7..affb55c9 100644 --- a/src/__stl__.h +++ b/src/__stl__.h @@ -2,8 +2,6 @@ #ifdef _MSC_VER #pragma warning (disable:4267) -#pragma warning (disable:4244) -#pragma warning (disable:4101) #define _CRT_NONSTDC_NO_DEPRECATE #endif diff --git a/src/compiler.h b/src/compiler.h index 30327b03..e11b0981 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -165,7 +165,7 @@ public: } if (size != m.length()) throw std::runtime_error("length mismatch"); } - }catch(std::exception& e){ + }catch(std::exception& _){ syntaxError("invalid number literal"); } }