Browse Source

* warning of portabilitiy problems with parasize / localsize
+ some added documentation

carl 23 years ago
parent
commit
eeea5fdae0
2 changed files with 19 additions and 5 deletions
  1. 8 4
      compiler/defcmp.pas
  2. 11 1
      compiler/globals.pas

+ 8 - 4
compiler/defcmp.pas

@@ -39,9 +39,9 @@ interface
        tequaltype = (
          te_incompatible,
          te_convert_operator,
-         te_convert_l2,
-         te_convert_l1,
-         te_equal,
+         te_convert_l2,     { compatible conversion with possible loss of data }     
+         te_convert_l1,     { compatible conversion     }
+         te_equal,          { the definitions are equal }
          te_exact
        );
 
@@ -1149,7 +1149,11 @@ implementation
 end.
 {
   $Log$
-  Revision 1.3  2002-11-27 15:33:46  peter
+  Revision 1.4  2002-12-01 22:07:41  carl
+    * warning of portabilitiy problems with parasize / localsize
+    + some added documentation
+
+  Revision 1.3  2002/11/27 15:33:46  peter
     * the never ending story of tp procvar hacks
 
   Revision 1.2  2002/11/27 02:32:14  peter

+ 11 - 1
compiler/globals.pas

@@ -73,6 +73,12 @@ interface
        gpcmodeswitches    : tmodeswitches=
          [m_gpc,m_all];
 
+       { maximum number of locals in bytes before warning is emitted }
+       maxlocalsize = high(smallint);
+       { maximum number of paras in bytes before warning is emitted }
+       maxparasize = high(word);
+       
+
     type
        pfileposinfo = ^tfileposinfo;
        tfileposinfo = record
@@ -1515,7 +1521,11 @@ implementation
 end.
 {
   $Log$
-  Revision 1.75  2002-11-30 23:13:48  carl
+  Revision 1.76  2002-12-01 22:07:41  carl
+    * warning of portabilitiy problems with parasize / localsize
+    + some added documentation
+
+  Revision 1.75  2002/11/30 23:13:48  carl
     - cs_fp_emulation is no longer automatic for m68k target
 
   Revision 1.74  2002/11/30 11:08:46  carl