~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to compiler/msg/errore.msg

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
#   $Id: errore.msg,v 1.124 2005/05/05 14:52:50 florian Exp $
3
2
#   This file is part of the Free Pascal Compiler
4
 
#   Copyright (c) 1999-2000 by the Free Pascal Development team
 
3
#   Copyright (c) 1999-2006 by the Free Pascal Development team
5
4
#
6
5
#   English (default) Language File for Free Pascal
7
6
#
64
63
% operating system is.
65
64
general_t_exepath=01003_T_Using executable path: $1
66
65
% When the \var{-vt} switch is used, this line tells you where the compiler
67
 
% looks for it's binaries.
 
66
% looks for its binaries.
68
67
general_t_unitpath=01004_T_Using unit path: $1
69
68
% When the \var{-vt} switch is used, this line tells you where the compiler
70
69
% looks for compiled units. You can set this path with the \var{-Fu}
71
70
general_t_includepath=01005_T_Using include path: $1
72
71
% When the \var{-vt} switch is used, this line tells you where the compiler
73
 
% looks for it's include files (files used in \var{\{\$I xxx\}} statements).
 
72
% looks for its include files (files used in \var{\{\$I xxx\}} statements).
74
73
% You can set this path with the \var{-I} option.
75
74
general_t_librarypath=01006_T_Using library path: $1
76
75
% When the \var{-vt} switch is used, this line tells you where the compiler
112
111
% Prefix for Hints
113
112
general_e_path_does_not_exist=01017_E_Path "$1" does not exist
114
113
% The specified path does not exist.
115
 
general_e_compilation_aborted=01018_E_Compilation aborted
 
114
general_f_compilation_aborted=01018_F_Compilation aborted
 
115
% Compilation was aborted.
116
116
% \end{description}
117
117
#
118
118
# Scanner
167
167
scan_f_cannot_open_includefile=02013_F_Can't open include file "$1"
168
168
% \fpc cannot find the source file you specified in a \var{\{\$include ..\}}
169
169
% statement.
170
 
scan_w_only_pack_records=02015_W_Records fields can be aligned to 1,2,4,8,16 or 32 bytes only
171
 
% You are specifying the \var{\{\$PACKRECORDS n\} } with an illegal value for
172
 
% \var{n}. Only 1, 2, 4, 8, 16 and 32 are valid in this case.
173
 
scan_w_only_pack_enum=02016_W_Enumerated can be saved in 1,2 or 4 bytes only
 
170
scan_e_illegal_pack_records=02015_E_Illegal record alignment specifier "$1"
 
171
% You are specifying the \var{\{\$PACKRECORDS n\} } or \var{\{\$ALIGN n\} }
 
172
% with an illegal value for \var{n}. For \$PACKRECORDS valid alignments are 1, 2, 4, 8, 16, 32, C,
 
173
% NORMAL, DEFAULT, and for \$ALIGN valid alignment are 1, 2, 4, 8, 16, 32, ON,
 
174
% OFF. Under mode MacPas \$ALIGN also supports MAC68K, POWER and RESET.
 
175
scan_e_illegal_pack_enum=02016_E_Illegal enum minimum-size specifier "$1"
174
176
% You are specifying the \var{\{\$PACKENUM n\}} with an illegal value for
175
 
% \var{n}. Only 1,2 or 4 are valid in this case.
 
177
% \var{n}. Only 1,2,4, NORMAL or DEFAULT are valid here.
176
178
scan_e_endif_expected=02017_E_$ENDIF expected for $1 $2 defined in $3 line $4
177
179
% Your conditional compilation statements are unbalanced.
178
180
scan_e_preproc_syntax_error=02018_E_Syntax error while parsing a conditional compiling expression
200
202
scan_e_keyword_cant_be_a_macro=02028_E_Keyword redefined as macro has no effect
201
203
% You cannot redefine keywords with macros.
202
204
scan_f_macro_buffer_overflow=02029_F_Macro buffer overflow while reading or expanding a macro
203
 
% Your macro or it's result  was too long for the compiler.
 
205
% Your macro or its result was too long for the compiler.
204
206
scan_w_macro_too_deep=02030_W_Expanding of macros exceeds a depth of 16.
205
207
% When expanding a macro, macros have been nested to a level of 16.
206
208
% The compiler will expand no further, since this may be a sign that
247
249
% When you use (\var{-vt}) the compiler tells you when it has finished
248
250
% reading an include file.
249
251
scan_w_unsupported_app_type=02044_W_Unsupported application type: "$1"
250
 
% You get this warning, ff you specify an unknown application type
 
252
% You get this warning, if you specify an unknown application type
251
253
% with the directive \var{\{\$APPTYPE\}}
252
254
scan_w_app_type_not_support=02045_W_APPTYPE is not supported by the target OS
253
255
% The \var{\{\$APPTYPE\}} directive is supported by certain operating systems only.
265
267
% the compiler didn't recognize the mode you specified.
266
268
scan_w_no_asm_reader_switch_inside_asm=02051_W_ASM reader switch is not possible inside asm statement, "$1" will be effective only for next
267
269
% It is not possible to switch from one assembler reader to another
268
 
% inside an assmebler block. The new reader will be used for next
 
270
% inside an assembler block. The new reader will be used for next
269
271
% assembler statements only.
270
272
scan_e_wrong_switch_toggle=02052_E_Wrong switch toggle, use ON/OFF or +/-
271
273
% You need to use ON or OFF or a + or - to toggle the switch
297
299
% The compiler will expand no further, since this may be a sign that
298
300
% recursion is used.
299
301
scan_e_too_many_push=02063_F_Too many levels of PUSH
300
 
% A maximum of 20 levels is allowed.  This error occur only in mode MacPas.
 
302
% A maximum of 20 levels is allowed. This error occurs only in mode MacPas.
301
303
scan_e_too_many_pop=02064_E_A POP without a preceding PUSH
302
 
% This error occur only in mode MacPas.
 
304
% This error occurs only in mode MacPas.
303
305
scan_e_error_macro_lacks_value=02065_E_Macro or compile time variable "$1" does not have any value
304
306
% Thus the conditional compile time expression cannot be evaluated.
305
307
scan_e_wrong_switch_toggle_default=02066_E_Wrong switch toggle, use ON/OFF/DEFAULT or +/-/*
307
309
scan_e_mode_switch_not_allowed=02067_E_Mode switch "$1" not allowed here
308
310
% A mode switch has already been encountered, or, in case of option -Mmacpas,
309
311
% a mode switch occur after UNIT.
310
 
scan_e_error_macro_undefined=02068_E_Compile time variable "$1" is not defined.
311
 
% Thus the conditional compile time expression cannot be evaluated.
 
312
scan_e_error_macro_undefined=02068_E_Compile time variable or macro "$1" is not defined.
 
313
% Thus the conditional compile time expression cannot be evaluated. Only in mode MacPas.
 
314
scan_e_utf8_bigger_than_65535=02069_E_UTF-8 code greater than 65535 found
 
315
% \fpc handles utf-8 strings internally as widestrings e.g. the char codes are limited to 65535
 
316
scan_e_utf8_malformed=02070_E_Malformed UTF-8 string
 
317
% The given string isn't a valid UTF-8 string
 
318
scan_c_switching_to_utf8=02071_C_UTF-8 signature found, using UTF-8 encoding
 
319
% The compiler found an UTF-8 encoding signature (\$ef, \$bb, \$bf) at the beginning of a file,
 
320
% so it interprets it as an UTF-8 file
 
321
scan_e_compile_time_typeerror=02072_E_Compile time expression: Wanted $1 but got $2 at $3
 
322
% Type check of a compile time expression failed.
 
323
scan_n_app_type_not_support=02073_N_APPTYPE is not supported by the target OS
 
324
% The \var{\{\$APPTYPE\}} directive is supported by certain operating systems only.
312
325
% \end{description}
313
326
#
314
327
# Parser
326
339
parser_e_dont_nest_interrupt=03004_E_INTERRUPT procedure can't be nested
327
340
% An \var{INTERRUPT} procedure must be global.
328
341
parser_w_proc_directive_ignored=03005_W_Procedure type "$1" ignored
329
 
% The specified is ignored by FPC programs.
 
342
% The specified procedure directive is ignored by FPC programs.
330
343
parser_e_no_overload_for_all_procs=03006_E_Not all declarations of "$1" are declared with OVERLOAD
331
344
% When you want to use overloading using the \var{OVERLOAD} directive, then
332
345
% all declarations need to have \var{OVERLOAD} specified.
500
513
% not exist.
501
514
parser_e_no_procedure_to_access_property=03059_E_No member is provided to access property
502
515
% You specified no \var{read} directive for a property.
503
 
parser_w_stored_not_implemented=03060_W_Stored prorperty directive is not yet implemented
 
516
parser_w_stored_not_implemented=03060_W_Stored property directive is not yet implemented
504
517
% The \var{stored} directive is not yet implemented
505
518
parser_e_ill_property_access_sym=03061_E_Illegal symbol for property access
506
519
% There is an error in the \var{read} or \var{write} directives for an array
507
520
% property. When you declare an array property, you can only access it with
508
 
% procedures and functions. The following code woud cause such an error.
 
521
% procedures and functions. The following code would cause such an error.
509
522
% \begin{verbatim}
510
523
% tmyobject = class
511
524
%   i : integer;
514
527
%
515
528
parser_e_cant_access_protected_member=03062_E_Cannot access a protected field of an object here
516
529
% Fields that are declared in a \var{protected} section of an object or class
517
 
% declaration cannot be accessed outside the module wher the object is
 
530
% declaration cannot be accessed outside the module where the object is
518
531
% defined, or outside descendent object methods.
519
532
parser_e_cant_access_private_member=03063_E_Cannot access a private field of an object here
520
533
% Fields that are declared in a \var{private} section of an object or class
521
534
% declaration cannot be accessed outside the module where the class is
522
535
% defined.
523
 
parser_e_overridden_methods_not_same_ret=03066_E_overridden methods must have the same return type: "$2" is overriden by "$1" which has another return type
 
536
parser_e_overridden_methods_not_same_ret=03066_E_Overridden methods must have the same return type: "$2" is overriden by "$1" which has another return type
524
537
% If you declare overridden methods in a class definition, they must
525
538
% have the same return type.
526
539
parser_e_dont_nest_export=03067_E_EXPORT declared functions can't be nested
527
540
% You cannot declare a function or procedure within a function or procedure
528
541
% that was declared as an export procedure.
529
 
parser_e_methods_dont_be_export=03068_E_methods can't be EXPORTed
 
542
parser_e_methods_dont_be_export=03068_E_Methods can't be EXPORTed
530
543
% You cannot declare a procedure that is a method for an object as
531
544
% \var{export}ed.
532
 
parser_e_call_by_ref_without_typeconv=03069_E_call by var parameters have to match exactly: Got "$1" expected "$2"
 
545
parser_e_call_by_ref_without_typeconv=03069_E_Call by var parameters have to match exactly: Got "$1" expected "$2"
533
546
% When calling a function declared with \var{var} parameters, the variables in
534
547
% the function call must be of exactly the same type. There is no automatic
535
548
% type conversion.
539
552
parser_e_self_not_in_method=03071_E_SELF is only allowed in methods
540
553
% You are trying to use the \var{self} parameter outside an object's method.
541
554
% Only methods get passed the \var{self} parameters.
542
 
parser_e_generic_methods_only_in_methods=03072_E_methods can be only in other methods called direct with type identifier of the class
 
555
parser_e_generic_methods_only_in_methods=03072_E_Methods can be only in other methods called direct with type identifier of the class
543
556
% A construction like \var{sometype.somemethod} is only allowed in a method.
544
557
parser_e_illegal_colon_qualifier=03073_E_Illegal use of ':'
545
558
% You are using the format \var{:} (colon) 2 times on an expression that
550
563
% the same.
551
564
parser_e_pointer_to_class_expected=03075_E_Pointer to object expected
552
565
% You specified an illegal type in a \var{new} statement.
553
 
% The extended syntax of \var{new} needs an  object as a parameter.
 
566
% The extended syntax of \var{new} needs an object as a parameter.
554
567
parser_e_expr_have_to_be_constructor_call=03076_E_Expression must be constructor call
555
568
% When using the extended syntax of \var{new}, you must specify the constructor
556
569
% method of the object you are trying to create. The procedure you specified
569
582
parser_e_void_function=03080_E_Procedures can't return a value
570
583
% In \fpc, you can specify a return value for a function when using
571
584
% the \var{exit} statement. This error occurs when you try to do this with a
572
 
% procedure. Procedures  cannot return a value.
 
585
% procedure. Procedures cannot return a value.
573
586
parser_e_constructors_always_objects=03081_E_constructors and destructors must be methods
574
587
% You're declaring a procedure as destructor or constructor, when the
575
588
% procedure isn't a class method.
670
683
% When you request debug messages (\var{-vd}) the compiler tells you what
671
684
% units it recompiles for the second time.
672
685
parser_e_no_property_found_to_override=03109_E_No property found to override
673
 
% You want to overrride a property of a parent class, when there is, in fact,
 
686
% You want to override a property of a parent class, when there is, in fact,
674
687
% no such property in the parent class.
675
688
parser_e_only_one_default_property=03110_E_Only one default property is allowed
676
689
% You specified a property as \var{Default}, but the class already has a
682
695
% in classes.
683
696
parser_e_no_default_property_available=03113_E_No default property available
684
697
% You are trying to access a default property of a class, but this class (or one of
685
 
% it's ancestors) doesn't have a default property.
 
698
% its ancestors) doesn't have a default property.
686
699
parser_e_cant_have_published=03114_E_The class can't have a published section, use the {$M+} switch
687
700
% If you want a \var{published} section in a class definition, you must
688
701
% use the \var{\{\$M+\}} switch, whch turns on generation of type
745
758
parser_e_cant_publish_that=03133_E_Symbol can't be published, can be only a class
746
759
% Only class type variables can be in a \var{published} section of a class
747
760
% if they are not declared as a property.
748
 
parser_e_cant_publish_that_property=03134_E_That kind of property can't be published
 
761
parser_e_cant_publish_that_property=03134_E_This kind of property can't be published
749
762
% Properties in a \var{published} section cannot be array properties.
750
763
% they must be moved to public sections. Properties in a \var{published}
751
764
% section must be an ordinal type, a real type, strings or sets.
752
765
parser_e_empty_import_name=03136_E_An import name is required
753
766
% Some targets need a name for the imported procedure or a \var{cdecl} specifier
754
767
parser_e_division_by_zero=03138_E_Division by zero
755
 
% There is a divsion by zero encounted
 
768
% There is a division by zero encounted
756
769
parser_e_invalid_float_operation=03139_E_Invalid floating point operation
757
770
% An operation on two real type values produced an overflow or a division
758
771
% by zero.
779
792
parser_e_threadvars_only_sg=03147_E_Threadvars can be only static or global
780
793
% Threadvars must be static or global, you can't declare a thread
781
794
% local to a procedure. Local variables are always local to a thread,
782
 
% because every thread has it's own stack and local variables
 
795
% because every thread has its own stack and local variables
783
796
% are stored on the stack
784
797
parser_f_direct_assembler_not_allowed=03148_F_Direct assembler not supported for binary output format
785
798
% You can't use direct assembler when using a binary writer, choose an
814
827
% are compiled in \var{\{\$M+\}} or which are derived from such a class. Normally
815
828
% such a class should be derived from TPersitent
816
829
parser_e_proc_directive_expected=03157_E_Procedure directive expected
817
 
% When declaring a procedure in a const block you used a ; after the
818
 
% procedure declaration after which a procedure directive must follow.
 
830
% This error is triggered when you have a \var{\{\$Calling\}} directive without
 
831
% a calling convention specified.
 
832
% It also happens when declaring a procedure in a const block and you
 
833
% used a ; after a procedure declaration which must be followed by a
 
834
% procedure directive.
819
835
% Correct declarations are:
820
836
% \begin{verbatim}
821
837
% const
825
841
parser_e_invalid_property_index_value=03158_E_The value for a property index must be of an ordinal type
826
842
% The value you use to index a property must be of an ordinal type, for
827
843
% example an integer or enumerated type.
828
 
parser_e_procname_to_short_for_export=03159_E_Procedure name to short to be exported
 
844
parser_e_procname_to_short_for_export=03159_E_Procedure name too short to be exported
829
845
% The length of the procedure/function name must be at least 2 characters
830
846
% long. This is because of a bug in dlltool which doesn't parse the .def
831
847
% file correct with a name of length 1.
842
858
parser_e_no_export_of_variables_for_target=03164_E_Exporting of variables is not supported under $1
843
859
% Exporting of variables is not supported on this target.
844
860
parser_e_improper_guid_syntax=03165_E_Improper GUID syntax
 
861
% The GUID indication does not have the proper syntax. It should be of the form
 
862
% \begin{verbatim}
 
863
% {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
 
864
% \end{verbatim}
 
865
% Where each \var{X} represents a hexadecimal digit.
845
866
parser_w_interface_mapping_notfound=03168_W_Procedure named "$1" not found that is suitable for implementing the $2.$3
 
867
% The compiler cannot find a suitable procedure which implements the given method of an interface.
 
868
% A procedure with the same name is found, but the arguments do not match.
846
869
parser_e_interface_id_expected=03169_E_interface identifier expected
847
870
% This happens when the compiler scans a \var{class} declaration that contains
848
871
% \var{interface} function name mapping code like this:
900
923
% that of the method (which is known at compile time) and that of the object or
901
924
% class instance it operates on (which can not be known at compile time).
902
925
parser_e_default_value_only_one_para=03184_E_Default value can only be assigned to one parameter
 
926
% It is not possible to specify a default value for several parameters at once. 
 
927
% The following is invalid:
 
928
% \begin{verbatim}
 
929
% Procedure MyProcedure (A,B : Integer = 0);
 
930
% \end{verbatim}
 
931
% Instead, this should be declared as
 
932
% \begin{verbatim}
 
933
% Procedure MyProcedure (A : Integer = 0; B : Integer = 0);
 
934
% \end{verbatim}
903
935
parser_e_default_value_expected_for_para=03185_E_Default parameter required for "$1"
 
936
% The specified parameter requires a default value.
904
937
parser_w_unsupported_feature=03186_W_Use of unsupported feature!
905
938
% You're trying to force the compiler into doing something it cannot do yet.
906
939
parser_h_c_arrays_are_references=03187_H_C arrays are passed by reference
930
963
% only the standard ABI calling convention of the CPU.
931
964
parser_e_no_object_reintroduce=03196_E_REINTRODUCE can't be used in objects
932
965
% \var{reintroduce} is not supported for objects.
933
 
parser_e_paraloc_only_one_para=03197_E_Each argument must have it's own location
 
966
parser_e_paraloc_only_one_para=03197_E_Each argument must have its own location
934
967
% If locations for arguments are specified explicitly as it is required by
935
968
% some syscall conventions, each argument must have it's only location, things
936
969
% like \var{procedure p(i,j : longint 'r1');} aren't allowed
982
1015
% You are declaring a subrange, and the lower limit is higher than the high
983
1016
% limit of the range.
984
1017
parser_e_macpas_exit_wrong_param=03207_E_Exit's parameter must be the name of the procedure it is used in
985
 
% Non local exit is not allowed. This error occur only in mode MacPas.
 
1018
% Non local exit is not allowed. This error occurs only in mode MacPas.
986
1019
parser_e_illegal_assignment_to_count_var=03208_E_Illegal assignment to for-loop variable "$1"
987
1020
% The type of a \var{for} loop variable must be an ordinal type.
988
 
% Loop variables cannot be reals or strings.
 
1021
% Loop variables cannot be reals or strings. You can also not assign values to
 
1022
% loop variables inside the loop (except in Delphi and TP modes). Use a while or
 
1023
% repeat loop instead if you need to do something like that, since those
 
1024
% constructs were built for that.
989
1025
parser_e_no_local_var_external=03209_E_Can't declare local variable as EXTERNAL
990
1026
% Declaring local variables as external is not allowed. Only global variables can reference
991
1027
% to external variables.
1001
1037
% because all methods of an interfaces must be public.
1002
1038
parser_e_arithmetic_operation_overflow=03213_E_Overflow in arithmetic operation
1003
1039
% An operation on two integers values produced an overflow
 
1040
parser_e_protected_or_private_expected=03214_E_Protected or private expected
 
1041
% \var{strict} can be only used together with \var{protected} or \var{private}.
 
1042
parser_e_illegal_slice=03215_E_SLICE can't be used outside of parameter list
 
1043
% \var{slice} can be used only for arguments accepting an open array parameter
 
1044
parser_e_dispinterface_cant_have_parent=03216_E_A DISPINTERFACE can't have a parent class
 
1045
% A DISPINMTERFACE is a special type of interface which can't have a parent class
 
1046
parser_e_dispinterface_needs_a_guid=03217_E_A DISPINTERFACE needs a guid
 
1047
% A DISPINMTERFACE always needs an interface identification
 
1048
parser_w_overridden_methods_not_same_ret=03218_W_Overridden methods must have a related return type. This code may crash, it depends on a Delphi parser bug ("$2" is overridden by "$1" which has another return type)
 
1049
% If you declare overridden methods in a class definition, they must
 
1050
% have the same return type. Some versions of Delphi allow you to change the
 
1051
% return type of interface methods, and even to change procedures into
 
1052
% functions, but the resulting code may crash depending on the types used
 
1053
% and the way the methods are called.
1004
1054
% \end{description}
1005
1055
#
1006
1056
# Type Checking
1144
1194
% If you are accessing a variable using an index '[<x>]' then
1145
1195
% the type must be an array. In FPC mode also a pointer is allowed.
1146
1196
type_e_interface_type_expected=04034_E_interface type expected, but got "$1"
 
1197
% The compiler expected to encounter an interface type name, but got something else.
 
1198
% The following code would provoke this error:
 
1199
% \begin{verbatim}
 
1200
% Type
 
1201
%   TMyStream = Class(TStream,Integer)
 
1202
% \end{verbatim}
1147
1203
type_w_mixed_signed_unsigned=04035_W_Mixing signed expressions and longwords gives a 64bit result
1148
1204
% If you divide (or calculate the modulus of) a signed expression by a longword (or vice versa),
1149
1205
% or if you have overflow and/or range checking turned on and use an arithmetic
1150
1206
% expression (+, -, *, div, mod) in which both signed numbers and longwords appear,
1151
1207
% then everything has to be evaluated in 64bit which is slower than normal
1152
1208
% 32bit arithmetic. You can avoid this by typecasting one operand so it
1153
 
% matches the resulttype of the other one.
 
1209
% matches the result type of the other one.
1154
1210
type_w_mixed_signed_unsigned2=04036_W_Mixing signed expressions and cardinals here may cause a range check error
1155
1211
% If you use a binary operator (and, or, xor) and one of
1156
1212
% the operands is a longword while the other one is a signed expression, then,
1157
1213
% if range checking is turned on, you may get a range check error because in
1158
1214
% such a case both operands are converted to longword before the operation is
1159
1215
% carried out. You can avoid this by typecasting one operand so it
1160
 
% matches the resulttype of the other one.
 
1216
% matches the result type of the other one.
1161
1217
type_e_typecast_wrong_size_for_assignment=04037_E_Typecast has different size ($1 -> $2) in assignment
1162
1218
% Type casting to a type with a different size is not allowed when the variable is
1163
1219
% used for assigning.
1169
1225
% \end{verbatim}
1170
1226
% you cannot use it as index of an array.
1171
1227
type_e_classes_not_related=04039_E_Class or Object types "$1" and "$2" are not related
1172
 
%  There is a typecast from one class or object to another while the class/object
1173
 
%  are not related. This will probably lead to errors
 
1228
% There is a typecast from one class or object to another while the class/object
 
1229
% are not related. This will probably lead to errors
1174
1230
type_w_classes_not_related=04040_W_Class types "$1" and "$2" are not related
1175
 
%  There is a typecast from one class or object to another while the class/object
1176
 
%  are not related. This will probably lead to errors
 
1231
% There is a typecast from one class or object to another while the class/object
 
1232
% are not related. This will probably lead to errors
1177
1233
type_e_class_or_interface_type_expected=04041_E_Class or interface type expected, but got "$1"
 
1234
% The compiler expected a class or interface name, but got another type or identifier.
1178
1235
type_e_type_is_not_completly_defined=04042_E_Type "$1" is not completely defined
 
1236
% This error occurs when a type is not complete: i.e. a pointer type which points to
 
1237
% an undefined type.
1179
1238
type_w_string_too_long=04043_W_String literal has more characters than short string length
1180
1239
% The size of the constant string, which is assigned to a shortstring,
1181
1240
% is longer than the maximum size of the shortstring
1193
1252
% routine is ever called. All abstract methods should be overriden.
1194
1253
type_h_in_range_check=04047_H_The left operand of the IN operator should be byte sized
1195
1254
% The left operand of the \var{in} operator is not an ordinal or enumeration which fits
1196
 
% within 8-bits, this may lead to range check errors. The  \var{in} operator
 
1255
% within 8-bits, this may lead to range check errors. The \var{in} operator
1197
1256
% currently only supports a left operand which fits within a byte. In the case of
1198
1257
% enumerations, the size of an element of an enumeration can be controlled with
1199
1258
% the \var{\{\$PACKENUM\}} or \var{\{\$Zn\}} switches.
1230
1289
type_e_illegal_count_var=04058_E_Illegal counter variable
1231
1290
% The type of a \var{for} loop variable must be an ordinal type.
1232
1291
% Loop variables cannot be reals or strings.
 
1292
type_w_double_c_varargs=04059_W_Converting constant real value to double for C variable argument, add explicit typecast to prevent this.
 
1293
% In C, constant real values are double by default. For this reason, if you
 
1294
% pass a constant real value to a variable argument part of a C function, FPC
 
1295
% by default converts this constant to double as well. If you want to prevent
 
1296
% this from happening, add an explicit typecast around the constant.
 
1297
type_e_class_or_cominterface_type_expected=04060_E_Class or COM interface type expected, but got "$1"
 
1298
% Some operators like the AS operator are only appliable to classes or COM interfaces.
1233
1299
% \end{description}
1234
1300
#
1235
1301
# Symtable
1236
1302
#
1237
 
# 05055 is the last used one
 
1303
# 05060 is the last used one
1238
1304
#
1239
1305
% \section{Symbol handling}
1240
1306
% This section lists all the messages that concern the handling of symbols.
1246
1312
% variable.
1247
1313
sym_f_internal_error_in_symtablestack=05001_F_Internal Error in SymTableStack()
1248
1314
% An internal error occurred in the compiler; If you encounter such an error,
1249
 
% please contact the developers and try to provide  an exact description of
 
1315
% please contact the developers and try to provide an exact description of
1250
1316
% the circumstances in which the error occurs.
1251
1317
sym_e_duplicate_id=05002_E_Duplicate identifier "$1"
1252
1318
% The identifier was already declared in the current scope.
1285
1351
% procedure or function.
1286
1352
sym_e_goto_and_label_not_supported=05017_E_GOTO and LABEL are not supported (use switch -Sg)
1287
1353
% You must compile a program which has \var{label}s and \var{goto} statements
1288
 
% with the  \var{-Sg} switch. By default, \var{label} and \var{goto} aren't
 
1354
% with the \var{-Sg} switch. By default, \var{label} and \var{goto} aren't
1289
1355
% supported.
1290
1356
sym_e_label_not_found=05018_E_Label not found
1291
1357
% A \var{goto label} was encountered, but the label isn't declared.
1314
1380
sym_h_local_symbol_not_used=05028_H_Local $1 "$2" is not used
1315
1381
% A local symbol is never used.
1316
1382
sym_n_private_identifier_not_used=05029_N_Private field "$1.$2" is never used
 
1383
% The indicated private field is defined, but is never used in the code.
1317
1384
sym_n_private_identifier_only_set=05030_N_Private field "$1.$2" is assigned but never used
 
1385
% The indicated private field is declared, assigned but never read.
1318
1386
sym_n_private_method_not_used=05031_N_Private method "$1.$2" never used
 
1387
% The indicated private method is declared but is never used in the code.
1319
1388
sym_e_set_expected=05032_E_Set type expected
1320
1389
% The variable or expression is not of type \var{set}. This happens in an
1321
1390
% \var{in} statement.
1378
1447
% be used (i.e. appears in the right-hand-side of an expression) when it
1379
1448
% was not initialized first (i.e. appeared in the left-hand side of an
1380
1449
% assigment)
 
1450
sym_w_function_result_uninitialized=05059_W_Function result variable does not seem to initialized
 
1451
% This message is displayed if the compiler thinks that the function result
 
1452
% variable will be used (i.e. appears in the right-hand-side of an expression)
 
1453
% before it is initialized (i.e. appeared in the left-hand side of an
 
1454
% assigment)
 
1455
sym_h_function_result_uninitialized=05060_H_Function result variable does not seem to be initialized
 
1456
% This message is displayed if the compiler thinks that the function result
 
1457
% variable will be used (i.e. appears in the right-hand-side of an expression)
 
1458
% before it is initialized (i.e. appeared in the left-hand side of an
 
1459
% assigment)
 
1460
sym_w_identifier_only_read=05061_W_Variable "$1" read but nowhere assigned
 
1461
% You have read the value of a variable, but nowhere assigned a value to
 
1462
% it.
 
1463
 
1381
1464
% \end{description}
1382
1465
#
1383
1466
# Codegenerator
1482
1565
% This indicates that you are declaring more than 64K of parameters, which
1483
1566
% might not be supported on other processor targets.
1484
1567
cg_w_localsize_too_big=06042_W_Local variable size exceed limit for certain cpu's
1485
 
% This indicates that you are declaring more than 32K of lcoal variables, which
 
1568
% This indicates that you are declaring more than 32K of local variables, which
1486
1569
% might not be supported on other processor targets.
1487
1570
cg_e_localsize_too_big=06043_E_Local variables size exceeds supported limit
1488
 
% This indicates that you are declaring more than 32K of lcoal variables, which
 
1571
% This indicates that you are declaring more than 32K of local variables, which
1489
1572
% is not supported by this processor.
1490
1573
cg_e_break_not_allowed=06044_E_BREAK not allowed
1491
1574
% You're trying to use \var{break} outside a loop construction.
1492
1575
cg_e_continue_not_allowed=06045_E_CONTINUE not allowed
1493
1576
% You're trying to use \var{continue} outside a loop construction.
 
1577
cg_f_unknown_compiler=06046_F_Unknown compilerproc "$1". Check if you use the correct run time library.
 
1578
% The compiler expects that the runtime library contains some subrountines. If you see this error
 
1579
% and you didn't mess with the runtime library, it's very likely that the runtime library
 
1580
% you're using doesn't match the used compiler. If you changed the runtime library this error means
 
1581
% that you removed a subroutine which the compiler needs for internal use.
1494
1582
% \end{description}
1495
1583
# EndOfTeX
1496
1584
 
1536
1624
asmr_e_invalid_reference_syntax=07014_E_Invalid reference syntax
1537
1625
% There is an error in the reference.
1538
1626
asmr_e_local_para_unreachable=07015_E_You can not reach $1 from that code
1539
 
% You can not read directly the value of local or para
1540
 
% of a higher level in assembler code (except for
 
1627
% You can not read directly the value of a local variable or parameter
 
1628
% of a higher level procedure in assembler code (except for
1541
1629
% local assembler code without parameter nor locals).
1542
1630
asmr_e_local_label_not_allowed_as_ref=07016_E_Local symbols/labels aren't allowed as references
1543
1631
% You can't use local symbols/labels as references
1755
1843
% command line or handling the configuration files.
1756
1844
% \begin{description}
1757
1845
exec_w_source_os_redefined=09000_W_Source operating system redefined
 
1846
% The source operating system is redefined.
1758
1847
exec_i_assembling_pipe=09001_I_Assembling (pipe) $1
1759
 
exec_d_cant_create_asmfile=09002_E_Can't create assember file: $1
 
1848
% Assembling using a pipe to an external assembler.
 
1849
exec_d_cant_create_asmfile=09002_E_Can't create assembler file: $1
1760
1850
% The mentioned file can't be created. Check if you have got
1761
1851
% access permissions to create this file
1762
1852
exec_e_cant_create_objectfile=09003_E_Can't create object file: $1
1766
1856
% The mentioned file can't be created. Check if you've
1767
1857
% access permissions to create this file
1768
1858
exec_e_assembler_not_found=09005_E_Assembler $1 not found, switching to external assembling
 
1859
% The assembler program was not found. The compiler will produce a script that
 
1860
% can be used to assemble and link the program.
1769
1861
exec_t_using_assembler=09006_T_Using assembler: $1
 
1862
% Information message saying which assembler is being used.
1770
1863
exec_e_error_while_assembling=09007_E_Error while assembling exitcode $1
1771
1864
% There was an error while assembling the file using an external assembler.
1772
1865
% Consult the documentation of the assembler tool to find out more information
1773
1866
% on this error.
1774
1867
exec_e_cant_call_assembler=09008_E_Can't call the assembler, error $1 switching to external assembling
 
1868
% An error occurred when calling an external assembler, The compiler will produce a script that
 
1869
% can be used to assemble and link the program.
1775
1870
exec_i_assembling=09009_I_Assembling $1
 
1871
% An informational message stating which file is being assembled.
1776
1872
exec_i_assembling_smart=09010_I_Assembling with smartlinking $1
 
1873
% An informational message stating which file is being assembled using smartlinking.
1777
1874
exec_w_objfile_not_found=09011_W_Object $1 not found, Linking may fail !
1778
1875
% One of the object file is missing, and linking will probably fail.
1779
1876
% Check your paths.
1783
1880
exec_e_error_while_linking=09013_E_Error while linking
1784
1881
% Generic error while linking.
1785
1882
exec_e_cant_call_linker=09014_E_Can't call the linker, switching to external linking
 
1883
% An error occurred when calling an external linker, The compiler will produce a script that
 
1884
% can be used to assemble and link the program.
1786
1885
exec_i_linking=09015_I_Linking $1
 
1886
% An informational message, showing which program or library is being linked.
1787
1887
exec_e_util_not_found=09016_E_Util $1 not found, switching to external linking
 
1888
% An external tool was not found, the compiler will produce a script that
 
1889
% can be used to assemble and link or postprocess the program.
1788
1890
exec_t_using_util=09017_T_Using util $1
 
1891
% An informational message, showing which external program (usually a postprocessor) is being used.
1789
1892
exec_e_exe_not_supported=09018_E_Creation of Executables not supported
 
1893
% Creating executable programs is not supported for this platform, because it was
 
1894
% not yet implemented in the compiler.
1790
1895
exec_e_dll_not_supported=09019_E_Creation of Dynamic/Shared Libraries not supported
 
1896
% Creating dynamically loadable libraries is not supported for this platform, because it was
 
1897
% not yet implemented in the compiler.
1791
1898
exec_i_closing_script=09020_I_Closing script $1
 
1899
% Informational message showing when the external assembling an linking script is finished.
1792
1900
exec_e_res_not_found=09021_E_resource compiler not found, switching to external mode
 
1901
% An external resource compiler was not found, the compiler will produce a script that
 
1902
% can be used to assemble, compile resources and link or postprocess the program.
1793
1903
exec_i_compilingresource=09022_I_Compiling resource $1
 
1904
% An informational message, showing which resource is being compiled.
1794
1905
exec_t_unit_not_static_linkable_switch_to_smart=09023_T_unit $1 can't be statically linked, switching to smart linking
 
1906
% Statical linking was requested, but a unit which is not statically linkable was used.
1795
1907
exec_t_unit_not_smart_linkable_switch_to_static=09024_T_unit $1 can't be smart linked, switching to static linking
 
1908
% Smart linking was requested, but a unit which is not smart-linkable was used.
1796
1909
exec_t_unit_not_shared_linkable_switch_to_static=09025_T_unit $1 can't be shared linked, switching to static linking
 
1910
% Shared linking was requested, but a unit which is not shared-linkable  was used.
1797
1911
exec_e_unit_not_smart_or_static_linkable=09026_E_unit $1 can't be smart or static linked
 
1912
% Smart or static linking was requested, but a unit which cannot be used for either  was used.
1798
1913
exec_e_unit_not_shared_or_static_linkable=09027_E_unit $1 can't be shared or static linked
 
1914
% Shared or static linking was requested, but a unit which cannot be used for either  was used.
 
1915
exec_d_resbin_params=09028_D_Calling resource compiler "$1" with "$2" as command line
 
1916
% An informational message showing which command-line is used for the resource compiler.
1799
1917
%\end{description}
1800
1918
# EndOfTeX
1801
1919
 
1802
1920
#
1803
1921
# Executable information
1804
1922
#
1805
 
execinfo_f_cant_process_executable=09028_F_Can't post process executable $1
1806
 
execinfo_f_cant_open_executable=09029_F_Can't open executable $1
1807
 
execinfo_x_codesize=09030_X_Size of Code: $1 bytes
1808
 
execinfo_x_initdatasize=09031_X_Size of initialized data: $1 bytes
1809
 
execinfo_x_uninitdatasize=09032_X_Size of uninitialized data: $1 bytes
1810
 
execinfo_x_stackreserve=09033_X_Stack space reserved: $1 bytes
1811
 
execinfo_x_stackcommit=09034_X_Stack space commited: $1 bytes
 
1923
# BeginOfTeX
 
1924
% \section{Executable information messages.}
 
1925
% This section lists all messages that the compiler emits when an executable program is produced,
 
1926
% and only when the internal linker is used.
 
1927
% \begin{description}
 
1928
execinfo_f_cant_process_executable=09128_F_Can't post process executable $1
 
1929
% Fatal error when the compiler is unable to post-process an executable.
 
1930
execinfo_f_cant_open_executable=09129_F_Can't open executable $1
 
1931
% Fatal error when the compiler cannot open the file for the executable.
 
1932
execinfo_x_codesize=09130_X_Size of Code: $1 bytes
 
1933
% Informational message showing the size of the produced code section.
 
1934
execinfo_x_initdatasize=09131_X_Size of initialized data: $1 bytes
 
1935
% Informational message showing the size of the initialized data section.
 
1936
execinfo_x_uninitdatasize=09132_X_Size of uninitialized data: $1 bytes
 
1937
% Informational message showing the size of the uninitialized data section.
 
1938
execinfo_x_stackreserve=09133_X_Stack space reserved: $1 bytes
 
1939
% Informational message showing the stack size that the compiler reserved for the executable.
 
1940
execinfo_x_stackcommit=09134_X_Stack space committed: $1 bytes
 
1941
% Informational message showing the stack size that the compiler committed for the executable.
 
1942
%\end{description}
 
1943
# EndOfTeX
1812
1944
 
1813
1945
#
1814
1946
# Unit loading
1849
1981
% This unit file was compiled for a different target, and
1850
1982
% cannot be read
1851
1983
unit_u_ppu_source=10011_U_PPU Source: $1
1852
 
% When you use the \var{-vu} flag, the unit CRC check is shown.
 
1984
% When you use the \var{-vu} flag, the unit source file name is shown.
1853
1985
unit_u_ppu_write=10012_U_Writing $1
1854
1986
% When you specify the \var{-vu} switch, the compiler will tell you where it
1855
1987
% writes the unit file.
1883
2015
% You tried to use a unit of which the PPU file isn't found by the
1884
2016
% compiler. Check your configuration file for the unit paths
1885
2017
unit_w_unit_name_error=10023_W_Unit $1 was not found but $2 exists
 
2018
% This error message is no longer used.
1886
2019
unit_f_unit_name_error=10024_F_Unit $1 searched but $2 found
1887
2020
% Dos truncation of 8 letters for unit PPU files
1888
2021
% may lead to problems when unit name is longer than 8 letters.
1896
2029
% When you use the \var{-vu} flag, which unit is loaded from which unit is
1897
2030
% shown.
1898
2031
unit_u_recompile_crc_change=10028_U_Recompiling $1, checksum changed for $2
 
2032
% The unit is recompiled because the checksum of a unit it depends on has 
 
2033
% changed.
1899
2034
unit_u_recompile_source_found_alone=10029_U_Recompiling $1, source found only
1900
2035
% When you use the \var{-vu} flag, these messages tell you why the current
1901
2036
% unit is recompiled.
2010
2145
#
2011
2146
# 11039 is the last used one
2012
2147
#
2013
 
option_usage=11000_$1 [options] <inputfile> [options]
 
2148
option_usage=11000_O_$1 [options] <inputfile> [options]
2014
2149
# BeginOfTeX
2015
2150
%
2016
2151
% \section{Command-line handling errors}
2098
2233
% Additional infos about options, displayed
2099
2234
% when you have debug option turned on.
2100
2235
option_code_page_not_available=11039_E_Unknown code page
 
2236
option_config_is_dir=11040_F_Config file $1 is a directory
 
2237
% Directories can not be used as configuration files.
2101
2238
%\end{description}
2102
2239
# EndOfTeX
2103
2240
 
2105
2242
# Logo (option -l)
2106
2243
#
2107
2244
option_logo=11023_[
2108
 
Free Pascal Compiler version $FPCVERSION [$FPCDATE] for $FPCCPU
2109
 
Copyright (c) 1993-2005 by Florian Klaempfl
 
2245
Free Pascal Compiler version $FPCFULLVERSION [$FPCDATE] for $FPCCPU
 
2246
Copyright (c) 1993-2006 by Florian Klaempfl
2110
2247
]
2111
2248
 
2112
2249
#
2120
2257
 
2121
2258
Supported targets:
2122
2259
  $OSTARGETS
2123
 
  
 
2260
 
2124
2261
Supported CPU instruction sets:
2125
2262
  $INSTRUCTIONSETS
2126
2263
 
2131
2268
For more information read COPYING.FPC
2132
2269
 
2133
2270
Report bugs,suggestions etc to:
2134
 
                 bugrep@freepascal.org
 
2271
                 bugs@freepascal.org
2135
2272
]
2136
2273
 
2137
2274
#
2229
2366
*g2gg_use gsym
2230
2367
*g2gh_use heap trace unit (for memory leak debugging)
2231
2368
*g2gl_use line info unit to show more info for backtraces
2232
 
*g2gv_generates programs tracable with valgrind
 
2369
*g2gv_generates programs traceable with valgrind
2233
2370
*g2gw_generate dwarf debugging info
2234
2371
**1i_information
2235
2372
**2iD_return compiler date
2236
2373
**2iV_return compiler version
 
2374
**2iW_return full compiler version
2237
2375
**2iSO_return compiler OS
2238
2376
**2iSP_return compiler processor
2239
2377
**2iTO_return target OS
2251
2389
**1n_don't read the default config file
2252
2390
**1o<x>_change the name of the executable produced to <x>
2253
2391
**1O<x>_optimizations:
 
2392
3*2Oa_<type>=<values> set alignment
2254
2393
3*2Og_generate smaller code
2255
2394
3*2OG_generate faster code (default)
2256
2395
**2Or_keep certain variables in registers
2262
2401
3*3Op1_set target processor to 386/486
2263
2402
3*3Op2_set target processor to Pentium/PentiumMMX (tm)
2264
2403
3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm)
 
2404
3*3Op4_set target processor to Pentium 4 (tm)
 
2405
3*3Op5_set target processor to Pentium M (tm)
2265
2406
6*2Og_generate smaller code
2266
2407
6*2OG_generate faster code (default)
2267
2408
6*2Ox_optimize maximum (still BUGGY!!!)
2286
2427
**2Sg_allow LABEL and GOTO
2287
2428
**2Sh_Use ansistrings
2288
2429
**2Si_support C++ styled INLINE
 
2430
**2Sk_load fpcylix unit
2289
2431
**2SI<x>_set interface style to <x>
2290
2432
**3SIcom_COM compatible interface (default)
2291
2433
**3SIcorba_CORBA compatible interface
2315
2457
4*2Tlinux_Linux
2316
2458
6*2Tamiga_Commodore Amiga
2317
2459
6*2Tatari_Atari ST/STe/TT
2318
 
6*2Tlinux_Linux-68k
 
2460
6*2Tlinux_Linux/m68k
2319
2461
6*2Tmacos_Macintosh m68k (not supported)
2320
2462
6*2Tpalmos_PalmOS
2321
2463
A*2Tlinux_Linux
2337
2479
**2*_i : Show general info           d : Show debug info
2338
2480
**2*_l : Show linenumbers            r : Rhide/GCC compatibility mode
2339
2481
**2*_a : Show everything             x : Executable info (Win32 only)
 
2482
**2*_b : Write file names messages with full path
2340
2483
**2*_v : write fpcdebug.txt with     p : Write tree.log with parse tree
2341
2484
**2*_    lots of debugging info
2342
2485
3*1W<x>_Win32-like target options
 
2486
3*2WB_Create a relocatable image
2343
2487
3*2WB<x>_Set Image base to Hexadecimal <x> value
2344
2488
3*2WC_Specify console type application
2345
2489
3*2WD_Use DEFFILE to export functions of DLL or EXE
2354
2498
**2Xc_pass --shared to the linker (Unix only)
2355
2499
**2Xd_don't use standard library search path (needed for cross compile)
2356
2500
**2XD_try to link units dynamic          (defines FPC_LINK_DYNAMIC)
 
2501
**2Xm_generate link map
 
2502
**2XM<x>_set the name of the 'main' program routine (default is 'main')
2357
2503
**2XP<x>_prepend the binutils names with the prefix <x>
2358
2504
**2Xr<x>_set library search path to <x> (needed for cross compile)
2359
2505
**2Xs_strip all symbols from executable
2367
2513
 
2368
2514
#
2369
2515
# The End...
2370
 
#