Просмотр исходного кода

Improve warning message about invalid class to classref or vice-versa conversion

Pierre Muller 2 лет назад
Родитель
Сommit
d585ae9e3a
3 измененных файлов с 262 добавлено и 261 удалено
  1. 2 2
      compiler/msg/errore.msg
  2. 1 1
      compiler/msgidx.inc
  3. 259 258
      compiler/msgtxt.inc

+ 2 - 2
compiler/msg/errore.msg

@@ -1873,10 +1873,10 @@ type_e_constant_expr_expected=04052_E_Constant Expression expected
 type_e_operator_not_supported_for_types=04053_E_Operation "$1" not supported for types "$2" and "$3"
 % The operation is not allowed for the supplied types.
 type_e_illegal_type_conversion=04054_E_Illegal type conversion: "$1" to "$2"
-% The operation is allowed for compatibility but types are not .
-type_w_dangerous_type_conversion=04132_W_Dangerous type conversion: "$1" to "$2"
 % When doing a type-cast, you must take care that the sizes of the variable and
 % the destination type are the same.
+type_w_dangerous_type_conversion=04132_W_Type conversion between unrelated/incompatible types: "$1" to "$2"
+% The typecast is allowed for compatibility but types are unrelated or not compatible
 type_h_pointer_to_longint_conv_not_portable=04055_H_Conversion between ordinals and pointers is not portable
 % If you typecast a pointer to a longint (or vice-versa), this code will not compile
 % on a machine using 64 bits addressing.

+ 1 - 1
compiler/msgidx.inc

@@ -1158,7 +1158,7 @@ const
   option_info=11024;
   option_help_pages=11025;
 
-  MsgTxtSize = 90597;
+  MsgTxtSize = 90624;
 
   MsgIdxMax : array[1..20] of longint=(
     28,109,366,133,100,63,148,38,223,71,

Разница между файлами не показана из-за своего большого размера
+ 259 - 258
compiler/msgtxt.inc


Некоторые файлы не были показаны из-за большого количества измененных файлов