From 9345ede7487b8fe6f60d88acab9ee85204545572 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 4 Dec 2022 17:43:11 +0800 Subject: [PATCH] Update __stl__.h Update compiler.h Update __stl__.h --- src/__stl__.h | 2 -- src/compiler.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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"); } }