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

Partial fix for bug report 22744

git-svn-id: trunk@22265 -
pierre 13 жил өмнө
parent
commit
c501e6db5f

+ 5 - 1
compiler/scandir.pas

@@ -986,7 +986,11 @@ unit scandir;
       { Reset verbosity and forget previous pmeesage }
       { Reset verbosity and forget previous pmeesage }
       RestoreLocalVerbosity(nil);
       RestoreLocalVerbosity(nil);
       current_settings.pmessage:=nil;
       current_settings.pmessage:=nil;
-      flushpendingswitchesstate;
+      { Do not yet activate these changes, as otherwise
+        you get problem idf you put a $pop just right after
+        a addition for instance fro which you explicitly truned the overflow check
+        out by using $Q- after a $push PM 2012-08-29 }
+      // flushpendingswitchesstate;
     end;
     end;
 
 
     procedure dir_pointermath;
     procedure dir_pointermath;