Browse Source

* fix compile failures

peter 20 years ago
parent
commit
86c939c17c
4 changed files with 5 additions and 1 deletions
  1. 1 0
      tests/tbs/ub0489.pp
  2. 2 0
      tests/webtbf/tw3716.pp
  3. 1 1
      tests/webtbs/tw3708.pp
  4. 1 0
      tests/webtbs/tw3870.pp

+ 1 - 0
tests/tbs/ub0489.pp

@@ -1,4 +1,5 @@
 {$mode delphi}
+{$inline on}
 
 unit ub0489;
 

+ 2 - 0
tests/webtbs/tw3716.pp → tests/webtbf/tw3716.pp

@@ -1,3 +1,5 @@
+{ %fail }
+
 { Source provided for Free Pascal Bug Report 3716 }
 { Submitted by "Marc Weustink" on  2005-03-01 }
 { e-mail: [email protected] }

+ 1 - 1
tests/webtbs/tw3708.pp

@@ -22,7 +22,7 @@ begin
             end;
         end
       else
-        if (s <> '1.0000000000001') then
+        if (s <> '1'+DecimalSeparator+'0000000000001') then
           begin
             writeln('error');
             halt(1);

+ 1 - 0
tests/webtbs/tw3870.pp

@@ -4,6 +4,7 @@
 program AssertFormatBug;
   { Illustrates bug with using Format in Assert }
 
+{$mode objfpc}
 {$assertions on}
 
 uses