From 061162d9da2219aba1aa3032e47b38d9ce56dcab Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 21 Mar 2006 13:23:46 +0000 Subject: [PATCH] + new messages from Karl-Michael Schindler git-svn-id: trunk@3000 - --- compiler/msg/errord.msg | 47 +++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/compiler/msg/errord.msg b/compiler/msg/errord.msg index 529b8cd850..c884b6013e 100644 --- a/compiler/msg/errord.msg +++ b/compiler/msg/errord.msg @@ -322,6 +322,9 @@ scan_e_compile_time_typeerror=02072_E_Compile time Ausdruck: Erwartete $1 aber e % Type check of a compile time expression failed. scan_n_app_type_not_support=02073_N_APPTYPE wird vom Zielbetriebssystem nicht untersttzt % The \var{\{\$APPTYPE\}} directive is supported by certain operating systems only. +scan_e_illegal_optimization_specifier=02074_E_"$1" ist eine ungŸltige Optimierung +% When you specify an optimization with the \var{\{\$OPTIMIZATION xxx\}} +% the compiler didn't recognize the optimization you specified. % \end{description} # # Parser @@ -999,7 +1002,10 @@ parser_e_macpas_exit_wrong_param=03207_E_Exits Parameter muss der Name der Proze % Non local exit is not allowed. This error occurs only in mode MacPas. parser_e_illegal_assignment_to_count_var=03208_E_Ungltige Zuweisung zur for-loop Variable "$1" % The type of a \var{for} loop variable must be an ordinal type. -% Loop variables cannot be reals or strings. +% Loop variables cannot be reals or strings. You can also not assign values to +% loop variables inside the loop (except in Delphi and TP modes). Use a while or +% repeat loop instead if you need to do something like that, since those +% constructs were built for that. parser_e_no_local_var_external=03209_E_Lokale Variable kann nicht als EXTERNAL deklariert werden % Declaring local variables as external is not allowed. Only global variables can reference % to external variables. @@ -1258,6 +1264,11 @@ type_e_cant_choose_overload_function=04057_E_Kann nicht bestimmen, welche der type_e_illegal_count_var=04058_E_Loop-Variable muss einen ordinalen Typ haben % The type of a \var{for} loop variable must be an ordinal type. % Loop variables cannot be reals or strings. +type_w_double_c_varargs=04059_W_Der konstante Wert vom Typ real wird fr ein C Variablen-Argument zu double konvertiert. Erg„nze eine explizite Typ-Konversion (typecast), um das zu verhindern +% In C, constant real values are double by default. For this reason, if you +% pass a constant real value to a variable argument part of a C function, FPC +% by default converts this constant to double as well. If you want to prevent +% this from happening, add an explicit typecast around the constant. % \end{description} # # Symtable @@ -1416,6 +1427,10 @@ sym_h_function_result_uninitialized=05060_H_Die Ergebnisvariable der Funktion sc % variable will be used (i.e. appears in the right-hand-side of an expression) % before it is initialized (i.e. appeared in the left-hand side of an % assigment) +sym_w_identifier_only_read=05061_W_Die Variable "$1" wird gelesen, obwohl ihr aber noch kein Wert zugewiesen wurde +% You have read the value of a variable, but nowhere assigned a value to +% it. + % \end{description} # # Codegenerator @@ -1784,6 +1799,8 @@ asmw_e_duplicate_label=08016_E_Asm: Doppeltes Label $1 asmw_e_redefined_label=08017_E_Asm: Neu definiertes Label $1 asmw_e_first_defined_label=08018_E_Asm: First beginnt hier asmw_e_invalid_register=08019_E_Asm: Ungltiges Register $1 +asmw_e_16bit_32bit_not_supported=08020_E_Asm: 16 oder 32 Bit Referenzen werden nicht untersttzt +asmw_e_64bit_not_supported=08021_E_Asm: 64 Bit Operanden werden nicht untersttzt # # Executing linker/assembler @@ -2172,6 +2189,9 @@ Unterst Untersttzte FPU Instruktionen: $FPUINSTRUCTIONSETS +Untersttzte Optimierungen: + $OPTIMIZATIONS + Dieses Programm unterliegt der GNU General Public Licence Weitere Informationen sind in COPYING.FPC zu finden @@ -2298,23 +2318,14 @@ S*2Aas_assembliere mit Hilfe von GNU AS **2Nu_unroll loops **1o_die erzeugte, ausfhrbare Datei bekommt den Namen **1O_Optimierungen: -3*2Oa_= Ausrichtung (alignment) von Mengen -3*2Og_erzeuge krzeren Code -3*2OG_erzeuge schnelleren Code (Voreinstellung) -**2Or_halte bestimmte Variablen in den Registern -3*2Ou_schalte unsichere Optimierung ein (siehe Dokumentation) -3*2O1_level 1 Optimierung (schnelle Optimierung) -3*2O2_level 2 Optimierung (-O1 + langsamere Optimierung) -3*2O3_level 3 Optimierung (-O2 mehrfach, maximal 5-mal) -3*2Op_Zielprozessor: -3*3Op1_setze Zielprozessor zu 386/486 -3*3Op2_setze Zielprozessor zu Pentium/PentiumMMX (tm) -3*3Op3_setze Zielprozessor zu PPro/PII/c6x86/K6 (tm) -6*2Og_erzeuge krzeren Code -6*2OG_erzeuge schnelleren Code (Voreinstellung) -6*2Ox_optimiere maximal (noch BUGGY!!!) -6*2O0_setze Zielprozessor zu MC68000 -6*2O2_setze Zielprozessor zu MC68020+ (Voreinstellung) +**2O-_Optimierungen ausschalten +**2O1_level 1 Optimierung (schnell und Debugger freundlich) +**2O2_level 2 Optimierung (-O1 + schnelle Optimierungen) +**2O3_level 3 Optimierung (-O2 + langsame Optimierungen) +**2Oa=_Ausrichtung (alignment) von Mengen +**2Oo[NO]_Optimierungen ein- oder ausschalten, siehe fpc -i fr m”gliche Werte +**2Op_setze Zielprozessor fr die Optimierung, siehe fpc -i fr m”gliche Werte +**2Os_erzeuge krzeren Code **1pg_erzeuge Profiler-Code fr gprof **1R_Assembler Code Format: **2Rdefault_benutze den default Assembler