1
0
Эх сурвалжийг харах

Update __stl__.h

Update compiler.h

Update __stl__.h
blueloveTH 3 жил өмнө
parent
commit
9345ede748
2 өөрчлөгдсөн 1 нэмэгдсэн , 3 устгасан
  1. 0 2
      src/__stl__.h
  2. 1 1
      src/compiler.h

+ 0 - 2
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
 

+ 1 - 1
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");
         } 
     }