errore.msg 209 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441
  1. #
  2. # This file is part of the Free Pascal Compiler
  3. # Copyright (c) 1999-2009 by the Free Pascal Development team
  4. #
  5. # English (default) Language File for Free Pascal
  6. #
  7. # See the file COPYING.FPC, included in this distribution,
  8. # for details about the copyright.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. #
  15. # The constants are build in the following order:
  16. # <part>_<type>_<txtidentifier>
  17. #
  18. # <part> is the part of the compiler the message is used
  19. # asmr_ assembler parsing
  20. # asmw_ assembler writing/binary writers
  21. # unit_ unit handling
  22. # scan_ scanner
  23. # parser_ parser
  24. # type_ type checking
  25. # general_ general info
  26. # exec_ calls to assembler, external linker, binder
  27. # link_ internal linker
  28. #
  29. # <type> the type of the message it should normally used for
  30. # f_ fatal error
  31. # e_ error
  32. # w_ warning
  33. # n_ note
  34. # h_ hint
  35. # i_ info
  36. # l_ add linenumber
  37. # u_ used
  38. # t_ tried
  39. # c_ conditional
  40. # d_ debug message
  41. # x_ executable informations
  42. # o_ normal (e.g., "press enter to continue")
  43. #
  44. #
  45. # General
  46. #
  47. # 01023 is the last used one
  48. #
  49. # BeginOfTeX
  50. % \section{General compiler messages}
  51. % This section gives the compiler messages which are not fatal, but which
  52. % display useful information. The number of such messages can be
  53. % controlled with the various verbosity level \var{-v} switches.
  54. % \begin{description}
  55. general_t_compilername=01000_T_Compiler: $1
  56. % When the \var{-vt} switch is used, this line tells you what compiler
  57. % is used.
  58. general_d_sourceos=01001_D_Compiler OS: $1
  59. % When the \var{-vd} switch is used, this line tells you what the source
  60. % operating system is.
  61. general_i_targetos=01002_I_Target OS: $1
  62. % When the \var{-vd} switch is used, this line tells you what the target
  63. % operating system is.
  64. general_t_exepath=01003_T_Using executable path: $1
  65. % When the \var{-vt} switch is used, this line tells you where the compiler
  66. % looks for its binaries.
  67. general_t_unitpath=01004_T_Using unit path: $1
  68. % When the \var{-vt} switch is used, this line tells you where the compiler
  69. % looks for compiled units. You can set this path with the \var{-Fu} option.
  70. general_t_includepath=01005_T_Using include path: $1
  71. % When the \var{-vt} switch is used, this line tells you where the compiler
  72. % looks for its include files (files used in \var{\{\$I xxx\}} statements).
  73. % You can set this path with the \var{-Fi} option.
  74. general_t_librarypath=01006_T_Using library path: $1
  75. % When the \var{-vt} switch is used, this line tells you where the compiler
  76. % looks for the libraries. You can set this path with the \var{-Fl} option.
  77. general_t_objectpath=01007_T_Using object path: $1
  78. % When the \var{-vt} switch is used, this line tells you where the compiler
  79. % looks for object files you link in (files used in \var{\{\$L xxx\}} statements).
  80. % You can set this path with the \var{-Fo} option.
  81. general_i_abslines_compiled=01008_I_$1 lines compiled, $2 sec $3
  82. % When the \var{-vi} switch is used, the compiler reports the number
  83. % of lines compiled, and the time it took to compile them (real time,
  84. % not program time).
  85. general_f_no_memory_left=01009_F_No memory left
  86. % The compiler doesn't have enough memory to compile your program. There are
  87. % several remedies for this:
  88. % \begin{itemize}
  89. % \item If you're using the build option of the compiler, try compiling the
  90. % different units manually.
  91. % \item If you're compiling a huge program, split it up into units, and compile
  92. % these separately.
  93. % \item If the previous two don't work, recompile the compiler with a bigger
  94. % heap. (You can use the \var{-Ch} option for this, \seeo{Ch}.)
  95. % \end{itemize}
  96. general_i_writingresourcefile=01010_I_Writing Resource String Table file: $1
  97. % This message is shown when the compiler writes the Resource String Table
  98. % file containing all the resource strings for a program.
  99. general_e_errorwritingresourcefile=01011_E_Writing Resource String Table file: $1
  100. % This message is shown when the compiler encounters an error when writing
  101. % the Resource String Table file.
  102. general_i_fatal=01012_I_Fatal:
  103. % Prefix for Fatal Errors.
  104. general_i_error=01013_I_Error:
  105. % Prefix for Errors.
  106. general_i_warning=01014_I_Warning:
  107. % Prefix for Warnings.
  108. general_i_note=01015_I_Note:
  109. % Prefix for Notes.
  110. general_i_hint=01016_I_Hint:
  111. % Prefix for Hints.
  112. general_e_path_does_not_exist=01017_E_Path "$1" does not exist
  113. % The specified path does not exist.
  114. general_f_compilation_aborted=01018_F_Compilation aborted
  115. % Compilation was aborted.
  116. general_text_bytes_code=01019_bytes code
  117. % The size of the generated executable code, in bytes.
  118. general_text_bytes_data=01020_bytes data
  119. % The size of the generated program data, in bytes.
  120. general_i_number_of_warnings=01021_I_$1 warning(s) issued
  121. % Total number of warnings issued during compilation.
  122. general_i_number_of_hints=01022_I_$1 hint(s) issued
  123. % Total number of hints issued during compilation.
  124. general_i_number_of_notes=01023_I_$1 note(s) issued
  125. % Total number of notes issued during compilation.
  126. general_f_ioerror=01024_F_I/O error: $1
  127. % During compilation an I/O error happened which allows no further compilation.
  128. general_f_oserror=01025_F_Operating system error: $1
  129. % During compilation an operanting system error happened which allows no further compilation.
  130. % \end{description}
  131. #
  132. # Scanner
  133. #
  134. # 02087 is the last used one
  135. #
  136. % \section{Scanner messages.}
  137. % This section lists the messages that the scanner emits. The scanner takes
  138. % care of the lexical structure of the pascal file, i.e. it tries to find
  139. % reserved words, strings, etc. It also takes care of directives and
  140. % conditional compilation handling.
  141. % \begin{description}
  142. scan_f_end_of_file=02000_F_Unexpected end of file
  143. % This typically happens in one of the following cases:
  144. % \begin{itemize}
  145. % \item The source file ends before the final \var{end.} statement. This
  146. % happens mostly when the \var{begin} and \var{end} statements aren't
  147. % balanced;
  148. % \item An include file ends in the middle of a statement.
  149. % \item A comment was not closed.
  150. % \end{itemize}
  151. scan_f_string_exceeds_line=02001_F_String exceeds line
  152. % There is a missing closing ' in a string, so it occupies
  153. % multiple lines.
  154. scan_f_illegal_char=02002_F_illegal character "$1" ($2)
  155. % An illegal character was encountered in the input file.
  156. scan_f_syn_expected=02003_F_Syntax error, "$1" expected but "$2" found
  157. % This indicates that the compiler expected a different token than
  158. % the one you typed. It can occur almost anywhere it is possible to make an error
  159. % against the Pascal language.
  160. scan_t_start_include_file=02004_TL_Start reading includefile $1
  161. % When you provide the \var{-vt} switch, the compiler tells you
  162. % when it starts reading an included file.
  163. scan_w_comment_level=02005_W_Comment level $1 found
  164. % When the \var{-vw} switch is used, then the compiler warns you if
  165. % it finds nested comments. Nested comments are not allowed in Turbo Pascal
  166. % and Delphi, and can be a possible source of errors.
  167. scan_n_ignored_switch=02008_N_Ignored compiler switch "$1"
  168. % With \var{-vn} on, the compiler warns if it ignores a switch.
  169. scan_w_illegal_switch=02009_W_Illegal compiler switch "$1"
  170. % You included a compiler switch (i.e. \var{\{\$... \}}) which the compiler
  171. % does not recognise.
  172. scan_w_switch_is_global=02010_W_Misplaced global compiler switch
  173. % The compiler switch is misplaced, and should be located at
  174. % the start of the unit or program.
  175. scan_e_illegal_char_const=02011_E_Illegal char constant
  176. % This happens when you specify a character with its ASCII code, as in
  177. % \var{\#96}, but the number is either illegal, or out of range.
  178. scan_f_cannot_open_input=02012_F_Can't open file "$1"
  179. % \fpc cannot find the program or unit source file you specified on the
  180. % command line.
  181. scan_f_cannot_open_includefile=02013_F_Can't open include file "$1"
  182. % \fpc cannot find the source file you specified in a \var{\{\$include ..\}}
  183. % statement.
  184. scan_e_illegal_pack_records=02015_E_Illegal record alignment specifier "$1"
  185. % You are specifying \var{\{\$PACKRECORDS n\} } or \var{\{\$ALIGN n\} }
  186. % with an illegal value for \var{n}. For \$PACKRECORDS valid alignments are 1, 2, 4, 8, 16, 32, C,
  187. % NORMAL, DEFAULT, and for \$ALIGN valid alignments are 1, 2, 4, 8, 16, 32, ON,
  188. % OFF. Under mode MacPas \$ALIGN also supports MAC68K, POWER and RESET.
  189. scan_e_illegal_pack_enum=02016_E_Illegal enum minimum-size specifier "$1"
  190. % You are specifying the \var{\{\$PACKENUM n\}} with an illegal value for
  191. % \var{n}. Only 1,2,4, NORMAL or DEFAULT is valid here.
  192. scan_e_endif_expected=02017_E_$ENDIF expected for $1 $2 defined in $3 line $4
  193. % Your conditional compilation statements are unbalanced.
  194. scan_e_preproc_syntax_error=02018_E_Syntax error while parsing a conditional compiling expression
  195. % There is an error in the expression following the \var{\{\$if ..\}}, \var{\{\$ifc \}}
  196. % or \var{\{\$setc \}} compiler directives.
  197. scan_e_error_in_preproc_expr=02019_E_Evaluating a conditional compiling expression
  198. % There is an error in the expression following the \var{\{\$if ..\}}, $ifc or $setc compiler
  199. % directives.
  200. scan_w_macro_cut_after_255_chars=02020_W_Macro contents are limited to 255 characters in length
  201. % The contents of macros cannot be longer than 255 characters.
  202. scan_e_endif_without_if=02021_E_ENDIF without IF(N)DEF
  203. % Your \var{\{\$IFDEF ..\}} and {\{\$ENDIF\}} statements aren't balanced.
  204. scan_f_user_defined=02022_F_User defined: $1
  205. % A user defined fatal error occurred. See also the \progref.
  206. scan_e_user_defined=02023_E_User defined: $1
  207. % A user defined error occurred. See also the \progref.
  208. scan_w_user_defined=02024_W_User defined: $1
  209. % A user defined warning occurred. See also the \progref.
  210. scan_n_user_defined=02025_N_User defined: $1
  211. % A user defined note was encountered. See also the \progref.
  212. scan_h_user_defined=02026_H_User defined: $1
  213. % A user defined hint was encountered. See also the \progref.
  214. scan_i_user_defined=02027_I_User defined: $1
  215. % User defined information was encountered. See also the \progref.
  216. scan_e_keyword_cant_be_a_macro=02028_E_Keyword redefined as macro has no effect
  217. % You cannot redefine keywords with macros.
  218. scan_f_macro_buffer_overflow=02029_F_Macro buffer overflow while reading or expanding a macro
  219. % Your macro or its result was too long for the compiler.
  220. scan_w_macro_too_deep=02030_W_Expanding of macros exceeds a depth of 16.
  221. % When expanding a macro, macros have been nested to a level of 16.
  222. % The compiler will expand no further, since this may be a sign that
  223. % recursion is used.
  224. scan_w_wrong_styled_switch=02031_W_compiler switches aren't supported in // styled comments
  225. % Compiler switches should be in normal Pascal style comments.
  226. scan_d_handling_switch=02032_DL_Handling switch "$1"
  227. % When you set debugging info on (\var{-vd}) the compiler tells you when it
  228. % is evaluating conditional compile statements.
  229. scan_c_endif_found=02033_CL_ENDIF $1 found
  230. % When you turn on conditional messages (\var{-vc}), the compiler tells you
  231. % where it encounters conditional statements.
  232. scan_c_ifdef_found=02034_CL_IFDEF $1 found, $2
  233. % When you turn on conditional messages (\var{-vc}), the compiler tells you
  234. % where it encounters conditional statements.
  235. scan_c_ifopt_found=02035_CL_IFOPT $1 found, $2
  236. % When you turn on conditional messages (\var{-vc}), the compiler tells you
  237. % where it encounters conditional statements.
  238. scan_c_if_found=02036_CL_IF $1 found, $2
  239. % When you turn on conditional messages (\var{-vc}), the compiler tells you
  240. % where it encounters conditional statements.
  241. scan_c_ifndef_found=02037_CL_IFNDEF $1 found, $2
  242. % When you turn on conditional messages (\var{-vc}), the compiler tells you
  243. % where it encounters conditional statements.
  244. scan_c_else_found=02038_CL_ELSE $1 found, $2
  245. % When you turn on conditional messages (\var{-vc}), the compiler tells you
  246. % where it encounters conditional statements.
  247. scan_c_skipping_until=02039_CL_Skipping until...
  248. % When you turn on conditional messages (\var{-vc}), the compiler tells you
  249. % where it encounters conditional statements, and whether it is skipping or
  250. % compiling parts.
  251. scan_i_press_enter=02040_I_Press <return> to continue
  252. % When the \var{-vi} switch is used, the compiler stops compilation
  253. % and waits for the \var{Enter} key to be pressed when it encounters
  254. % a \var{\{\$STOP\}} directive.
  255. scan_w_unsupported_switch=02041_W_Unsupported switch "$1"
  256. % When warnings are turned on (\var{-vw}), the compiler warns you about
  257. % unsupported switches. This means that the switch is used in Delphi or
  258. % Turbo Pascal, but not in \fpc.
  259. scan_w_illegal_directive=02042_W_Illegal compiler directive "$1"
  260. % When warnings are turned on (\var{-vw}), the compiler warns you about
  261. % unrecognised switches. For a list of recognised switches, see the \progref.
  262. scan_t_back_in=02043_TL_Back in $1
  263. % When you use the \var{-vt} switch, the compiler tells you when it has finished
  264. % reading an include file.
  265. scan_w_unsupported_app_type=02044_W_Unsupported application type: "$1"
  266. % You get this warning if you specify an unknown application type
  267. % with the directive \var{\{\$APPTYPE\}}.
  268. scan_w_app_type_not_support=02045_W_APPTYPE is not supported by the target OS
  269. % The \var{\{\$APPTYPE\}} directive is supported by certain operating systems only.
  270. scan_w_description_not_support=02046_W_DESCRIPTION is not supported by the target OS
  271. % The \var{\{\$DESCRIPTION\}} directive is not supported on this target OS.
  272. scan_n_version_not_support=02047_N_VERSION is not supported by target OS
  273. % The \var{\{\$VERSION\}} directive is not supported on this target OS.
  274. scan_n_only_exe_version=02048_N_VERSION only for exes or DLLs
  275. % The \var{\{\$VERSION\}} directive is only used for executable or DLL sources.
  276. scan_w_wrong_version_ignored=02049_W_Wrong format for VERSION directive "$1"
  277. % The \var{\{\$VERSION\}} directive format is majorversion.minorversion
  278. % where majorversion and minorversion are words.
  279. scan_e_illegal_asmmode_specifier=02050_E_Illegal assembler style specified "$1"
  280. % When you specify an assembler mode with the \var{\{\$ASMMODE xxx\}} directive,
  281. % the compiler didn't recognize the mode you specified.
  282. 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
  283. % It is not possible to switch from one assembler reader to another
  284. % inside an assembler block. The new reader will be used for next
  285. % assembler statements only.
  286. scan_e_wrong_switch_toggle=02052_E_Wrong switch toggle, use ON/OFF or +/-
  287. % You need to use ON or OFF or a + or - to toggle the switch.
  288. scan_e_resourcefiles_not_supported=02053_E_Resource files are not supported for this target
  289. % The target you are compiling for doesn't support resource files.
  290. scan_w_include_env_not_found=02054_W_Include environment "$1" not found in environment
  291. % The included environment variable can't be found in the environment; it will
  292. % be replaced by an empty string instead.
  293. scan_e_invalid_maxfpureg_value=02055_E_Illegal value for FPU register limit
  294. % Valid values for this directive are 0..8 and NORMAL/DEFAULT.
  295. scan_w_only_one_resourcefile_supported=02056_W_Only one resource file is supported for this target
  296. % The target you are compiling for supports only one resource file.
  297. % The first resource file found is used, the others are discarded.
  298. scan_w_macro_support_turned_off=02057_W_Macro support has been turned off
  299. % A macro declaration has been found, but macro support is currently off,
  300. % so the declaration will be ignored. To turn macro support on compile with
  301. % -Sm on the command line or add \{\$MACRO ON\} in the source.
  302. scan_e_invalid_interface_type=02058_E_Illegal interface type specified. Valids are COM, CORBA or DEFAULT.
  303. % The interface type that was specified is not supported.
  304. scan_w_appid_not_support=02059_W_APPID is only supported for PalmOS
  305. % The \var{\{\$APPID\}} directive is only supported for the PalmOS target.
  306. scan_w_appname_not_support=02060_W_APPNAME is only supported for PalmOS
  307. % The \var{\{\$APPNAME\}} directive is only supported for the PalmOS target.
  308. scan_e_string_exceeds_255_chars=02061_E_Constant strings can't be longer than 255 chars
  309. % A single string constant can contain at most 255 chars. Try splitting up the
  310. % string into multiple smaller parts and concatenate them with a + operator.
  311. scan_f_include_deep_ten=02062_F_Including include files exceeds a depth of 16.
  312. % When including include files the files have been nested to a level of 16.
  313. % The compiler will expand no further, since this may be a sign that
  314. % recursion is used.
  315. scan_e_too_many_push=02063_F_Too many levels of PUSH
  316. % A maximum of 20 levels is allowed. This error occurs only in mode MacPas.
  317. scan_e_too_many_pop=02064_E_A POP without a preceding PUSH
  318. % This error occurs only in mode MacPas.
  319. scan_e_error_macro_lacks_value=02065_E_Macro or compile time variable "$1" does not have any value
  320. % Thus the conditional compile time expression cannot be evaluated.
  321. scan_e_wrong_switch_toggle_default=02066_E_Wrong switch toggle, use ON/OFF/DEFAULT or +/-/*
  322. % You need to use ON or OFF or DEFAULT or a + or - or * to toggle the switch.
  323. scan_e_mode_switch_not_allowed=02067_E_Mode switch "$1" not allowed here
  324. % A mode switch has already been encountered, or, in the case of option -Mmacpas,
  325. % a mode switch occurs after UNIT.
  326. scan_e_error_macro_undefined=02068_E_Compile time variable or macro "$1" is not defined.
  327. % Thus the conditional compile time expression cannot be evaluated. Only in mode MacPas.
  328. scan_e_utf8_bigger_than_65535=02069_E_UTF-8 code greater than 65535 found
  329. % \fpc handles UTF-8 strings internally as widestrings, i.e. the char codes are limited to 65535.
  330. scan_e_utf8_malformed=02070_E_Malformed UTF-8 string
  331. % The given string isn't a valid UTF-8 string.
  332. scan_c_switching_to_utf8=02071_C_UTF-8 signature found, using UTF-8 encoding
  333. % The compiler found a UTF-8 encoding signature (\$ef, \$bb, \$bf) at the beginning of a file,
  334. % so it interprets it as a UTF-8 file.
  335. scan_e_compile_time_typeerror=02072_E_Compile time expression: Wanted $1 but got $2 at $3
  336. % The type-check of a compile time expression failed.
  337. scan_n_app_type_not_support=02073_N_APPTYPE is not supported by the target OS
  338. % The \var{\{\$APPTYPE\}} directive is supported by certain operating systems only.
  339. scan_e_illegal_optimization_specifier=02074_E_Illegal optimization specified "$1"
  340. % You specified an optimization with the \var{\{\$OPTIMIZATION xxx\}} directive,
  341. % and the compiler didn't recognize the optimization you specified.
  342. scan_w_setpeflags_not_support=02075_W_SETPEFLAGS is not supported by the target OS
  343. % The \var{\{\$SETPEFLAGS\}} directive is not supported by the target OS.
  344. scan_w_imagebase_not_support=02076_W_IMAGEBASE is not supported by the target OS
  345. % The \var{\{\$IMAGEBASE\}} directive is not supported by the target OS.
  346. scan_w_minstacksize_not_support=02077_W_MINSTACKSIZE is not supported by the target OS
  347. % The \var{\{\$MINSTACKSIZE\}} directive is not supported by the target OS.
  348. scan_w_maxstacksize_not_support=02078_W_MAXSTACKSIZE is not supported by the target OS
  349. % The \var{\{\$MAXSTACKSIZE\}} directive is not supported by the target OS.
  350. scanner_e_illegal_warn_state=02079_E_Illegal state "$1" for $WARN directive
  351. % Only ON and OFF can be used as state with a \var{\{\$WARN\}} compiler directive.
  352. scan_e_only_packset=02080_E_Illegal set packing value
  353. % Only 0, 1, 2, 4, 8, DEFAULT and NORMAL are allowed as packset parameters.
  354. scan_w_pic_ignored=02081_W_PIC directive or switch ignored
  355. % Several targets, such as \windows, do not support nor need PIC,
  356. % so the PIC directive and switch are ignored.
  357. scan_w_unsupported_switch_by_target=02082_W_The switch "$1" is not supported by the currently selected target
  358. % Some compiler switches like \$E are not supported by all targets.
  359. scan_w_frameworks_darwin_only=02084_W_Framework-related options are only supported for Darwin/Mac OS X
  360. % Frameworks are not a known concept, or at least not supported by FPC,
  361. % on operating systems other than Darwin/Mac OS X.
  362. scan_e_illegal_minfpconstprec=02085_E_Illegal minimal floating point constant precision "$1"
  363. % Valid minimal precisions for floating point constants are default, 32 and 64,
  364. % which mean respectively minimal (usually 32 bit), 32 bit and 64 bit precision.
  365. scan_w_multiple_main_name_overrides=02086_W_Overriding name of "main" procedure multiple times, was previously set to "$1"
  366. % The name for the main entry procedure is specified more than once. Only the last
  367. % name will be used.
  368. scanner_w_illegal_warn_identifier=02087_W_Illegal identifier "$1" for $WARN directive
  369. % Identifier is not known by a \var{\{\$WARN\}} compiler directive.
  370. scanner_e_illegal_alignment_directive=02088_E_Illegal alignment directive
  371. % The alignment directive is not valid. Either the alignment type is not known or the alignment
  372. % value is not a power of two.
  373. % \end{description}
  374. #
  375. # Parser
  376. #
  377. # 03319 is the last used one
  378. #
  379. % \section{Parser messages}
  380. % This section lists all parser messages. The parser takes care of the
  381. % semantics of you language, i.e. it determines if your Pascal constructs
  382. % are correct.
  383. % \begin{description}
  384. parser_e_syntax_error=03000_E_Parser - Syntax Error
  385. % An error against the Turbo Pascal language was encountered. This typically
  386. % happens when an illegal character is found in the source file.
  387. parser_e_dont_nest_interrupt=03004_E_INTERRUPT procedure can't be nested
  388. % An \var{INTERRUPT} procedure must be global.
  389. parser_w_proc_directive_ignored=03005_W_Procedure type "$1" ignored
  390. % The specified procedure directive is ignored by FPC programs.
  391. parser_e_no_overload_for_all_procs=03006_E_Not all declarations of "$1" are declared with OVERLOAD
  392. % When you want to use overloading using the \var{OVERLOAD} directive, then
  393. % all declarations need to have \var{OVERLOAD} specified.
  394. parser_e_export_name_double=03008_E_Duplicate exported function name "$1"
  395. % Exported function names inside a specific DLL must all be different.
  396. parser_e_export_ordinal_double=03009_E_Duplicate exported function index $1
  397. % Exported function indexes inside a specific DLL must all be different.
  398. parser_e_export_invalid_index=03010_E_Invalid index for exported function
  399. % DLL function index must be in the range \var{1..\$FFFF}.
  400. parser_w_parser_reloc_no_debug=03011_W_Relocatable DLL or executable $1 debug info does not work, disabled.
  401. % It is currently not possible to include debug information in a relocatable DLL.
  402. parser_w_parser_win32_debug_needs_WN=03012_W_To allow debugging for win32 code you need to disable relocation with -WN option
  403. % Stabs debug info is wrong for relocatable DLL or EXES. Use -WN
  404. % if you want to debug win32 executables.
  405. parser_e_constructorname_must_be_init=03013_E_Constructor name must be INIT
  406. % You are declaring an object constructor with a name which is not \var{init}, and the
  407. % \var{-Ss} switch is in effect. See the switch \seeo{Ss}.
  408. parser_e_destructorname_must_be_done=03014_E_Destructor name must be DONE
  409. % You are declaring an object destructor with a name which is not \var{done}, and the
  410. % \var{-Ss} switch is in effect. See the switch \seeo{Ss}.
  411. parser_e_proc_inline_not_supported=03016_E_Procedure type INLINE not supported
  412. % You tried to compile a program with C++ style inlining, and forgot to
  413. % specify the \var{-Si} option (\seeo{Si}). The compiler doesn't support C++
  414. % styled inlining by default.
  415. parser_w_constructor_should_be_public=03018_W_Constructor should be public
  416. % Constructors must be in the 'public' part of an object (class) declaration.
  417. parser_w_destructor_should_be_public=03019_W_Destructor should be public
  418. % Destructors must be in the 'public' part of an object (class) declaration.
  419. parser_n_only_one_destructor=03020_N_Class should have one destructor only
  420. % You can declare only one destructor for a class.
  421. parser_e_no_local_objects=03021_E_Local class definitions are not allowed
  422. % Classes must be defined globally. They cannot be defined inside a
  423. % procedure or function.
  424. parser_f_no_anonym_objects=03022_F_Anonymous class definitions are not allowed
  425. % An invalid object (class) declaration was encountered, i.e. an
  426. % object or class without methods that isn't derived from another object or
  427. % class. For example:
  428. % \begin{verbatim}
  429. % Type o = object
  430. % a : longint;
  431. % end;
  432. % \end{verbatim}
  433. % will trigger this error.
  434. parser_n_object_has_no_vmt=03023_N_The object "$1" has no VMT
  435. % This is a note indicating that the declared object has no
  436. % virtual method table.
  437. parser_e_illegal_parameter_list=03024_E_Illegal parameter list
  438. % You are calling a function with parameters that are of a different type than
  439. % the declared parameters of the function.
  440. parser_e_wrong_parameter_size=03026_E_Wrong number of parameters specified for call to "$1"
  441. % There is an error in the parameter list of the function or procedure --
  442. % the number of parameters is not correct.
  443. parser_e_overloaded_no_procedure=03027_E_overloaded identifier "$1" isn't a function
  444. % The compiler encountered a symbol with the same name as an overloaded
  445. % function, but it is not a function it can overload.
  446. parser_e_overloaded_have_same_parameters=03028_E_overloaded functions have the same parameter list
  447. % You're declaring overloaded functions, but with the same parameter list.
  448. % Overloaded function must have at least 1 different parameter in their
  449. % declaration.
  450. parser_e_header_dont_match_forward=03029_E_function header doesn't match the previous declaration "$1"
  451. % You declared a function with the same parameters but
  452. % different result type or function modifiers.
  453. parser_e_header_different_var_names=03030_E_function header "$1" doesn't match forward : var name changes $2 => $3
  454. % You declared the function in the \var{interface} part, or with the
  455. % \var{forward} directive, but defined it with a different parameter list.
  456. parser_n_duplicate_enum=03031_N_Values in enumeration types have to be ascending
  457. % \fpc allows enumeration constructions as in C. Examine the following
  458. % two declarations:
  459. % \begin{verbatim}
  460. % type a = (A_A,A_B,A_E:=6,A_UAS:=200);
  461. % type a = (A_A,A_B,A_E:=6,A_UAS:=4);
  462. % \end{verbatim}
  463. % The second declaration would produce an error. \var{A\_UAS} needs to have a
  464. % value higher than \var{A\_E}, i.e. at least 7.
  465. parser_e_no_with_for_variable_in_other_segments=03033_E_With cannot be used for variables in a different segment
  466. % With stores a variable locally on the stack,
  467. % but this is not possible if the variable belongs to another segment.
  468. parser_e_too_much_lexlevel=03034_E_function nesting > 31
  469. % You can nest function definitions only 31 levels deep.
  470. parser_e_range_check_error=03035_E_range check error while evaluating constants
  471. % The constants are out of their allowed range.
  472. parser_w_range_check_error=03036_W_range check error while evaluating constants
  473. % The constants are out of their allowed range.
  474. parser_e_double_caselabel=03037_E_duplicate case label
  475. % You are specifying the same label 2 times in a \var{case} statement.
  476. parser_e_case_lower_less_than_upper_bound=03038_E_Upper bound of case range is less than lower bound
  477. % The upper bound of a \var{case} label is less than the lower bound and this
  478. % is useless.
  479. parser_e_type_const_not_possible=03039_E_typed constants of classes or interfaces are not allowed
  480. % You cannot declare a constant of type class or object.
  481. parser_e_no_overloaded_procvars=03040_E_functions variables of overloaded functions are not allowed
  482. % You are trying to assign an overloaded function to a procedural variable.
  483. % This is not allowed.
  484. parser_e_invalid_string_size=03041_E_string length must be a value from 1 to 255
  485. % The length of a shortstring in Pascal is limited to 255 characters. You are
  486. % trying to declare a string with length less than 1 or greater than 255.
  487. parser_w_use_extended_syntax_for_objects=03042_W_use extended syntax of NEW and DISPOSE for instances of objects
  488. % If you have a pointer \var{a} to an object type, then the statement
  489. % \var{new(a)} will not initialize the object (i.e. the constructor isn't
  490. % called), although space will be allocated. You should issue the
  491. % \var{new(a,init)} statement. This will allocate space, and call the
  492. % constructor of the object.
  493. parser_w_no_new_dispose_on_void_pointers=03043_W_use of NEW or DISPOSE for untyped pointers is meaningless
  494. parser_e_no_new_dispose_on_void_pointers=03044_E_use of NEW or DISPOSE is not possible for untyped pointers
  495. % You cannot use \var{new(p)} or \var{dispose(p)} if \var{p} is an untyped pointer
  496. % because no size is associated to an untyped pointer.
  497. % It is accepted for compatibility in \var{TP} and \var{DELPHI} modes, but the
  498. % compiler will still warn you if it finds such a construct.
  499. parser_e_class_id_expected=03045_E_class identifier expected
  500. % This happens when the compiler scans a procedure declaration that contains
  501. % a dot, i.e., an object or class method, but the type in front of the dot is not
  502. % a known type.
  503. parser_e_no_type_not_allowed_here=03046_E_type identifier not allowed here
  504. % You cannot use a type inside an expression.
  505. parser_e_methode_id_expected=03047_E_method identifier expected
  506. % This identifier is not a method.
  507. % This happens when the compiler scans a procedure declaration that contains
  508. % a dot, i.e., an object or class method, but the procedure name is not a
  509. % procedure of this type.
  510. parser_e_header_dont_match_any_member=03048_E_function header doesn't match any method of this class "$1"
  511. % This identifier is not a method.
  512. % This happens when the compiler scans a procedure declaration that contains
  513. % a dot, i.e., an object or class method, but the procedure name is not a
  514. % procedure of this type.
  515. parser_d_procedure_start=03049_DL_procedure/function $1
  516. % When using the \var{-vd} switch, the compiler tells you when it starts
  517. % processing a procedure or function implementation.
  518. parser_e_error_in_real=03050_E_Illegal floating point constant
  519. % The compiler expects a floating point expression, and gets something else.
  520. parser_e_fail_only_in_constructor=03051_E_FAIL can be used in constructors only
  521. % You are using the \var{fail} keyword outside a constructor method.
  522. parser_e_no_paras_for_destructor=03052_E_Destructors can't have parameters
  523. % You are declaring a destructor with a parameter list. Destructor methods
  524. % cannot have parameters.
  525. parser_e_only_class_members_via_class_ref=03053_E_Only class methods, class properties and class variables can be referred with class references
  526. % This error occurs in a situation like the following:
  527. % \begin{verbatim}
  528. % Type :
  529. % Tclass = Class of Tobject;
  530. %
  531. % Var C : TClass;
  532. %
  533. % begin
  534. % ...
  535. % C.free
  536. % \end{verbatim}
  537. % \var{Free} is not a class method and hence cannot be called with a class
  538. % reference.
  539. parser_e_only_class_members=03054_E_Only class class methods, class properties and class variables can be accessed in class methods
  540. % This is related to the previous error. You cannot call a method of an object
  541. % from inside a class method. The following code would produce this error:
  542. % \begin{verbatim}
  543. % class procedure tobject.x;
  544. %
  545. % begin
  546. % free
  547. % \end{verbatim}
  548. % Because free is a normal method of a class it cannot be called from a class
  549. % method.
  550. parser_e_case_mismatch=03055_E_Constant and CASE types do not match
  551. % One of the labels is not of the same type as the case variable.
  552. parser_e_illegal_symbol_exported=03056_E_The symbol can't be exported from a library
  553. % You can only export procedures and functions when you write a library. You
  554. % cannot export variables or constants.
  555. parser_w_should_use_override=03057_W_An inherited method is hidden by "$1"
  556. % A method that is declared \var{virtual} in a parent class, should be
  557. % overridden in the descendant class with the \var{override} directive. If you
  558. % don't specify the \var{override} directive, you will hide the parent method;
  559. % you will not override it.
  560. parser_e_nothing_to_be_overridden=03058_E_There is no method in an ancestor class to be overridden: "$1"
  561. % You are trying to \var{override} a virtual method of a parent class that does
  562. % not exist.
  563. parser_e_no_procedure_to_access_property=03059_E_No member is provided to access property
  564. % You specified no \var{read} directive for a property.
  565. parser_w_stored_not_implemented=03060_W_Stored property directive is not yet implemented
  566. % This message is no longer used, as the \var{stored} directive has been implemented.
  567. parser_e_ill_property_access_sym=03061_E_Illegal symbol for property access
  568. % There is an error in the \var{read} or \var{write} directives for an array
  569. % property. When you declare an array property, you can only access it with
  570. % procedures and functions. The following code would cause such an error.
  571. % \begin{verbatim}
  572. % tmyobject = class
  573. % i : integer;
  574. % property x [i : integer]: integer read I write i;
  575. % \end{verbatim}
  576. %
  577. parser_e_cant_access_protected_member=03062_E_Cannot access a protected field of an object here
  578. % Fields that are declared in a \var{protected} section of an object or class
  579. % declaration cannot be accessed outside the module where the object is
  580. % defined, or outside descendent object methods.
  581. parser_e_cant_access_private_member=03063_E_Cannot access a private field of an object here
  582. % Fields that are declared in a \var{private} section of an object or class
  583. % declaration cannot be accessed outside the module where the class is
  584. % defined.
  585. parser_e_overridden_methods_not_same_ret=03066_E_Overridden methods must have the same return type: "$2" is overridden by "$1" which has another return type
  586. % If you declare overridden methods in a class definition, they must
  587. % have the same return type.
  588. parser_e_dont_nest_export=03067_E_EXPORT declared functions can't be nested
  589. % You cannot declare a function or procedure within a function or procedure
  590. % that was declared as an export procedure.
  591. parser_e_methods_dont_be_export=03068_E_Methods can't be EXPORTed
  592. % You cannot declare a procedure that is a method for an object as
  593. % \var{export}ed.
  594. parser_e_call_by_ref_without_typeconv=03069_E_Call by var for arg no. $1 has to match exactly: Got "$2" expected "$3"
  595. % When calling a function declared with \var{var} parameters, the variables in
  596. % the function call must be of exactly the same type. There is no automatic
  597. % type conversion.
  598. parser_e_no_super_class=03070_E_Class isn't a parent class of the current class
  599. % When calling inherited methods, you are trying to call a method of a non-related
  600. % class. You can only call an inherited method of a parent class.
  601. parser_e_self_not_in_method=03071_E_SELF is only allowed in methods
  602. % You are trying to use the \var{self} parameter outside an object's method.
  603. % Only methods get passed the \var{self} parameters.
  604. parser_e_generic_methods_only_in_methods=03072_E_Methods can be only in other methods called direct with type identifier of the class
  605. % A construction like \var{sometype.somemethod} is only allowed in a method.
  606. parser_e_illegal_colon_qualifier=03073_E_Illegal use of ':'
  607. % You are using the format \var{:} (colon) 2 times on an expression that
  608. % is not a real expression.
  609. parser_e_illegal_set_expr=03074_E_range check error in set constructor or duplicate set element
  610. % The declaration of a set contains an error. Either one of the elements is
  611. % outside the range of the set type, or two of the elements are in fact
  612. % the same.
  613. parser_e_pointer_to_class_expected=03075_E_Pointer to object expected
  614. % You specified an illegal type in a \var{new} statement.
  615. % The extended syntax of \var{new} needs an object as a parameter.
  616. parser_e_expr_have_to_be_constructor_call=03076_E_Expression must be constructor call
  617. % When using the extended syntax of \var{new}, you must specify the constructor
  618. % method of the object you are trying to create. The procedure you specified
  619. % is not a constructor.
  620. parser_e_expr_have_to_be_destructor_call=03077_E_Expression must be destructor call
  621. % When using the extended syntax of \var{dispose}, you must specify the
  622. % destructor method of the object you are trying to dispose of.
  623. % The procedure you specified is not a destructor.
  624. parser_e_invalid_record_const=03078_E_Illegal order of record elements
  625. % When declaring a constant record, you specified the fields in the wrong
  626. % order.
  627. parser_e_false_with_expr=03079_E_Expression type must be class or record type
  628. % A \var{with} statement needs an argument that is of the type \var{record}
  629. % or \var{class}. You are using \var{with} on an expression that is not of
  630. % this type.
  631. parser_e_void_function=03080_E_Procedures can't return a value
  632. % In \fpc, you can specify a return value for a function when using
  633. % the \var{exit} statement. This error occurs when you try to do this with a
  634. % procedure. Procedures cannot return a value.
  635. parser_e_only_methods_allowed=03081_E_constructors, destructors and class operators must be methods
  636. % You're declaring a procedure as destructor, constructor or class operator, when the
  637. % procedure isn't a class method.
  638. parser_e_operator_not_overloaded=03082_E_Operator is not overloaded
  639. % You're trying to use an overloaded operator when it is not overloaded for
  640. % this type.
  641. parser_e_no_such_assignment=03083_E_Impossible to overload assignment for equal types
  642. % You cannot overload assignment for types
  643. % that the compiler considers as equal.
  644. parser_e_overload_impossible=03084_E_Impossible operator overload
  645. % The combination of operator, arguments and return type are
  646. % incompatible.
  647. parser_e_no_reraise_possible=03085_E_Re-raise isn't possible there
  648. % You are trying to re-raise an exception where it is not allowed. You can only
  649. % re-raise exceptions in an \var{except} block.
  650. parser_e_no_new_or_dispose_for_classes=03086_E_The extended syntax of new or dispose isn't allowed for a class
  651. % You cannot generate an instance of a class with the extended syntax of
  652. % \var{new}. The constructor must be used for that. For the same reason, you
  653. % cannot call \var{dispose} to de-allocate an instance of a class, the
  654. % destructor must be used for that.
  655. parser_e_procedure_overloading_is_off=03088_E_Procedure overloading is switched off
  656. % When using the \var{-So} switch, procedure overloading is switched off.
  657. % Turbo Pascal does not support function overloading.
  658. parser_e_overload_operator_failed=03089_E_It is not possible to overload this operator. Related overloadable operators (if any) are: $1
  659. % You are trying to overload an operator which cannot be overloaded.
  660. % The following operators can be overloaded :
  661. % \begin{verbatim}
  662. % +, -, *, /, =, >, <, <=, >=, is, as, in, **, :=
  663. % \end{verbatim}
  664. parser_e_comparative_operator_return_boolean=03090_E_Comparative operator must return a boolean value
  665. % When overloading the \var{=} operator, the function must return a boolean
  666. % value.
  667. parser_e_only_virtual_methods_abstract=03091_E_Only virtual methods can be abstract
  668. % You are declaring a method as abstract, when it is not declared to be
  669. % virtual.
  670. parser_f_unsupported_feature=03092_F_Use of unsupported feature!
  671. % You're trying to force the compiler into doing something it cannot do yet.
  672. parser_e_mix_of_classes_and_objects=03093_E_The mix of different kind of objects (class, object, interface, etc) isn't allowed
  673. % You cannot derive \var{objects}, \var{classes}, \var{cppclasses} and \var{interfaces} intertwined. E.g.
  674. % a class cannot have an object as parent and vice versa.
  675. parser_w_unknown_proc_directive_ignored=03094_W_Unknown procedure directive had to be ignored: "$1"
  676. % The procedure directive you specified is unknown.
  677. parser_e_directive_only_one_var=03095_E_$1 can be associated with only one variable
  678. % You cannot specify more than one variable before the \var{absolute}, \var{export}, \var{external},
  679. % \var{weakexternal}, \var{public} and \var{cvar} directives.
  680. % As a result, for example the following construct will provide this error:
  681. % \begin{verbatim}
  682. % Var Z : Longint;
  683. % X,Y : Longint absolute Z;
  684. % \end{verbatim}
  685. parser_e_absolute_only_to_var_or_const=03096_E_absolute can only be associated with a var or const
  686. % The address of an \var{absolute} directive can only point to a variable or
  687. % constant. Therefore, the following code will produce this error:
  688. % \begin{verbatim}
  689. % Procedure X;
  690. %
  691. % var p : longint absolute x;
  692. % \end{verbatim}
  693. parser_e_initialized_only_one_var=03097_E_Only one variable can be initialized
  694. % You cannot specify more than one variable with a initial value in Delphi mode.
  695. parser_e_abstract_no_definition=03098_E_Abstract methods shouldn't have any definition (with function body)
  696. % Abstract methods can only be declared, you cannot implement them. They
  697. % should be overridden by a descendant class.
  698. parser_e_overloaded_must_be_all_global=03099_E_This overloaded function can't be local (must be exported)
  699. % You are defining an overloaded function in the implementation part of a unit,
  700. % but there is no corresponding declaration in the interface part of the unit.
  701. parser_w_virtual_without_constructor=03100_W_Virtual methods are used without a constructor in "$1"
  702. % If you declare objects or classes that contain virtual methods, you need
  703. % to have a constructor and destructor to initialize them. The compiler
  704. % encountered an object or class with virtual methods that doesn't have
  705. % a constructor/destructor pair.
  706. parser_c_macro_defined=03101_CL_Macro defined: $1
  707. % When \var{-vc} is used, the compiler tells you when it defines macros.
  708. parser_c_macro_undefined=03102_CL_Macro undefined: $1
  709. % When \var{-vc} is used, the compiler tells you when it undefines macros.
  710. parser_c_macro_set_to=03103_CL_Macro $1 set to $2
  711. % When \var{-vc} is used, the compiler tells you what values macros get.
  712. parser_i_compiling=03104_I_Compiling $1
  713. % When you turn on information messages (\var{-vi}), the compiler tells you
  714. % what units it is recompiling.
  715. parser_u_parsing_interface=03105_UL_Parsing interface of unit $1
  716. % This tells you that the reading of the interface
  717. % of the current unit has started
  718. parser_u_parsing_implementation=03106_UL_Parsing implementation of $1
  719. % This tells you that the code reading of the implementation
  720. % of the current unit, library or program starts
  721. parser_d_compiling_second_time=03107_DL_Compiling $1 for the second time
  722. % When you request debug messages (\var{-vd}) the compiler tells you what
  723. % units it recompiles for the second time.
  724. parser_e_no_property_found_to_override=03109_E_No property found to override
  725. % You want to override a property of a parent class, when there is, in fact,
  726. % no such property in the parent class.
  727. parser_e_only_one_default_property=03110_E_Only one default property is allowed
  728. % You specified a property as \var{Default}, but the class already has a
  729. % default property, and a class can have only one default property.
  730. parser_e_property_need_paras=03111_E_The default property must be an array property
  731. % Only array properties of classes can be made \var{default} properties.
  732. parser_e_constructor_cannot_be_not_virtual=03112_E_Virtual constructors are only supported in class object model
  733. % You cannot have virtual constructors in objects. You can only have them
  734. % in classes.
  735. parser_e_no_default_property_available=03113_E_No default property available
  736. % You are trying to access a default property of a class, but this class (or one of
  737. % its ancestors) doesn't have a default property.
  738. parser_e_cant_have_published=03114_E_The class can't have a published section, use the {$M+} switch
  739. % If you want a \var{published} section in a class definition, you must
  740. % use the \var{\{\$M+\}} switch, which turns on generation of type
  741. % information.
  742. parser_e_forward_declaration_must_be_resolved=03115_E_Forward declaration of class "$1" must be resolved here to use the class as ancestor
  743. % To be able to use an object as an ancestor object, it must be defined
  744. % first. This error occurs in the following situation:
  745. % \begin{verbatim}
  746. % Type ParentClas = Class;
  747. % ChildClass = Class(ParentClass)
  748. % ...
  749. % end;
  750. % \end{verbatim}
  751. % where \var{ParentClass} is declared but not defined.
  752. parser_e_no_local_operator=03116_E_Local operators not supported
  753. % You cannot overload locally, i.e. inside procedures or function
  754. % definitions.
  755. parser_e_proc_dir_not_allowed_in_interface=03117_E_Procedure directive "$1" not allowed in interface section
  756. % This procedure directive is not allowed in the \var{interface} section of
  757. % a unit. You can only use it in the \var{implementation} section.
  758. parser_e_proc_dir_not_allowed_in_implementation=03118_E_Procedure directive "$1" not allowed in implementation section
  759. % This procedure directive is not allowed in the \var{implementation} section of
  760. % a unit. You can only use it in the \var{interface} section.
  761. parser_e_proc_dir_not_allowed_in_procvar=03119_E_Procedure directive "$1" not allowed in procvar declaration
  762. % This procedure directive cannot be part of a procedural or function
  763. % type declaration.
  764. parser_e_function_already_declared_public_forward=03120_E_Function is already declared Public/Forward "$1"
  765. % You will get this error if a function is defined as \var{forward} twice.
  766. % Or if it occurs in the \var{interface} section, and again as a \var{forward}
  767. % declaration in the \var{implementation} section.
  768. parser_e_not_external_and_export=03121_E_Can't use both EXPORT and EXTERNAL
  769. % These two procedure directives are mutually exclusive.
  770. parser_w_not_supported_for_inline=03123_W_"$1" not yet supported inside inline procedure/function
  771. % Inline procedures don't support this declaration.
  772. parser_w_inlining_disabled=03124_W_Inlining disabled
  773. % Inlining of procedures is disabled.
  774. parser_i_writing_browser_log=03125_I_Writing Browser log $1
  775. % When information messages are on, the compiler warns you when it
  776. % writes the browser log (generated with the \var{\{\$Y+ \}} switch).
  777. parser_h_maybe_deref_caret_missing=03126_H_may be pointer dereference is missing
  778. % The compiler thinks that a pointer may need a dereference.
  779. parser_f_assembler_reader_not_supported=03127_F_Selected assembler reader not supported
  780. % The selected assembler reader (with \var{\{\$ASMMODE xxx\}} is not
  781. % supported. The compiler can be compiled with or without support for a
  782. % particular assembler reader.
  783. parser_e_proc_dir_conflict=03128_E_Procedure directive "$1" has conflicts with other directives
  784. % You specified a procedure directive that conflicts with other directives.
  785. % For instance \var{cdecl} and \var{pascal} are mutually exclusive.
  786. parser_e_call_convention_dont_match_forward=03129_E_Calling convention doesn't match forward
  787. % This error happens when you declare a function or procedure with
  788. % e.g. \var{cdecl;} but omit this directive in the implementation, or vice
  789. % versa. The calling convention is part of the function declaration, and
  790. % must be repeated in the function definition.
  791. parser_e_property_cant_have_a_default_value=03131_E_Property can't have a default value
  792. % Set properties or indexed properties cannot have a default value.
  793. parser_e_property_default_value_must_const=03132_E_The default value of a property must be constant
  794. % The value of a \var{default} declared property must be known at compile
  795. % time. The value you specified is only known at run time. This happens
  796. % e.g. if you specify a variable name as a default value.
  797. parser_e_cant_publish_that=03133_E_Symbol can't be published, can be only a class
  798. % Only class type variables can be in a \var{published} section of a class
  799. % if they are not declared as a property.
  800. parser_e_cant_publish_that_property=03134_E_This kind of property can't be published
  801. % Properties in a \var{published} section cannot be array properties.
  802. % They must be moved to public sections. Properties in a \var{published}
  803. % section must be an ordinal type, a real type, strings or sets.
  804. parser_e_empty_import_name=03136_E_An import name is required
  805. % Some targets need a name for the imported procedure or a \var{cdecl} specifier.
  806. parser_e_division_by_zero=03138_E_Division by zero
  807. % A division by zero was encounted.
  808. parser_e_invalid_float_operation=03139_E_Invalid floating point operation
  809. % An operation on two real type values produced an overflow or a division
  810. % by zero.
  811. parser_e_array_lower_less_than_upper_bound=03140_E_Upper bound of range is less than lower bound
  812. % The upper bound of an array declaration is less than the lower bound and this
  813. % is not possible.
  814. parser_w_string_too_long=03141_W_string "$1" is longer than "$2"
  815. % The size of the constant string is larger than the size you specified in
  816. % string type definition.
  817. parser_e_string_larger_array=03142_E_string length is larger than array of char length
  818. % The size of the constant string is larger than the size you specified in
  819. % the \var{Array[x..y] of char} definition.
  820. parser_e_ill_msg_expr=03143_E_Illegal expression after message directive
  821. % \fpc supports only integer or string values as message constants.
  822. parser_e_ill_msg_param=03144_E_Message handlers can take only one call by ref. parameter
  823. % A method declared with the \var{message} directive as message handler
  824. % can take only one parameter which must be declared as call by reference.
  825. % Parameters are declared as call by reference using the \var{var}-directive.
  826. parser_e_duplicate_message_label=03145_E_Duplicate message label: "$1"
  827. % A label for a message is used twice in one object/class.
  828. parser_e_self_in_non_message_handler=03146_E_Self can only be an explicit parameter in methods which are message handlers
  829. % The \var{Self} parameter can only be passed explicitly to a method which
  830. % is declared as message handler.
  831. parser_e_threadvars_only_sg=03147_E_Threadvars can be only static or global
  832. % Threadvars must be static or global; you can't declare a thread
  833. % local to a procedure. Local variables are always local to a thread,
  834. % because every thread has its own stack and local variables
  835. % are stored on the stack.
  836. parser_f_direct_assembler_not_allowed=03148_F_Direct assembler not supported for binary output format
  837. % You can't use direct assembler when using a binary writer. Choose an
  838. % other output format or use another assembler reader.
  839. parser_w_no_objpas_use_mode=03149_W_Don't load OBJPAS unit manually, use \{\$mode objfpc\} or \{\$mode delphi\} instead
  840. % You are trying to load the \file{ObjPas} unit manually from a \var{uses} clause.
  841. % This is not a good idea. Use the \var{\{\$MODE OBJFPC\}} or
  842. % \var{\{\$mode delphi\}} directives which load the unit automatically.
  843. parser_e_no_object_override=03150_E_OVERRIDE can't be used in objects
  844. % \var{Override} is not supported for objects, use \var{virtual} instead to override
  845. % a method of a parent object.
  846. parser_e_cant_use_inittable_here=03151_E_Data types which require initialization/finalization can't be used in variant records
  847. % Some data types (e.g. \var{ansistring}) need initialization/finalization
  848. % code which is implicitly generated by the compiler. Such data types
  849. % can't be used in the variant part of a record.
  850. parser_e_resourcestring_only_sg=03152_E_Resourcestrings can be only static or global
  851. % Resourcestring cannot be declared local, only global or using the static
  852. % directive.
  853. parser_e_exit_with_argument_not__possible=03153_E_Exit with argument can't be used here
  854. % An exit statement with an argument for the return value can't be used here. This
  855. % can happen for example in \var{try..except} or \var{try..finally} blocks.
  856. parser_e_stored_property_must_be_boolean=03154_E_The type of the storage symbol must be boolean
  857. % If you specify a storage symbol in a property declaration, it must be a
  858. % boolean type.
  859. parser_e_ill_property_storage_sym=03155_E_This symbol isn't allowed as storage symbol
  860. % You can't use this type of symbol as storage specifier in property
  861. % declaration. You can use only methods with the result type boolean,
  862. % boolean class fields or boolean constants.
  863. parser_e_only_publishable_classes_can_be_published=03156_E_Only classes which are compiled in $M+ mode can be published
  864. % A class-typed field in the published section of a class can only be a class which was
  865. % compiled in \var{\{\$M+\}} or which is derived from such a class. Normally
  866. % such a class should be derived from \var{TPersistent}.
  867. parser_e_proc_directive_expected=03157_E_Procedure directive expected
  868. % This error is triggered when you have a \var{\{\$Calling\}} directive without
  869. % a calling convention specified.
  870. % It also happens when declaring a procedure in a const block and you
  871. % used a ; after a procedure declaration which must be followed by a
  872. % procedure directive.
  873. % Correct declarations are:
  874. % \begin{verbatim}
  875. % const
  876. % p : procedure;stdcall=nil;
  877. % p : procedure stdcall=nil;
  878. % \end{verbatim}
  879. parser_e_invalid_property_index_value=03158_E_The value for a property index must be of an ordinal type
  880. % The value you use to index a property must be of an ordinal type, for
  881. % example an integer or enumerated type.
  882. parser_e_procname_to_short_for_export=03159_E_Procedure name too short to be exported
  883. % The length of the procedure/function name must be at least 2 characters
  884. % long. This is because of a bug in dlltool which doesn't parse the .def
  885. % file correctly with a name of length 1.
  886. parser_e_dlltool_unit_var_problem=03160_E_No DEFFILE entry can be generated for unit global vars
  887. parser_e_dlltool_unit_var_problem2=03161_E_Compile without -WD option
  888. % You need to compile this file without the -WD switch on the
  889. % command line.
  890. parser_f_need_objfpc_or_delphi_mode=03162_F_You need ObjFpc (-S2) or Delphi (-Sd) mode to compile this module
  891. % You need to use \var{\{\$MODE OBJFPC\}} or \var{\{\$MODE DELPHI\}} to compile this file.
  892. % Or use the corresponding command line switch, either \var{-Mobjfpc} or \var{-MDelphi.}
  893. parser_e_no_export_with_index_for_target=03163_E_Can't export with index under $1
  894. % Exporting of functions or procedures with a specified index is not
  895. % supported on this target.
  896. parser_e_no_export_of_variables_for_target=03164_E_Exporting of variables is not supported under $1
  897. % Exporting of variables is not supported on this target.
  898. parser_e_improper_guid_syntax=03165_E_Improper GUID syntax
  899. % The GUID indication does not have the proper syntax. It should be of the form
  900. % \begin{verbatim}
  901. % {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
  902. % \end{verbatim}
  903. % Where each \var{X} represents a hexadecimal digit.
  904. parser_w_interface_mapping_notfound=03168_W_Procedure named "$1" not found that is suitable for implementing the $2.$3
  905. % The compiler cannot find a suitable procedure which implements the given method of an interface.
  906. % A procedure with the same name is found, but the arguments do not match.
  907. parser_e_interface_id_expected=03169_E_interface identifier expected
  908. % This happens when the compiler scans a \var{class} declaration that contains
  909. % \var{interface} function name mapping code like this:
  910. % \begin{verbatim}
  911. % type
  912. % TMyObject = class(TObject, IDispatch)
  913. % function IUnknown.QueryInterface=MyQueryInterface;
  914. % ....
  915. % \end{verbatim}
  916. % and the \var{interface} before the dot is not listed in the inheritance list.
  917. parser_e_type_cant_be_used_in_array_index=03170_E_Type "$1" can't be used as array index type
  918. % Types like \var{qword} or \var{int64} aren't allowed as array index type.
  919. parser_e_no_con_des_in_interfaces=03171_E_Con- and destructors aren't allowed in interfaces
  920. % Constructor and destructor declarations aren't allowed in interfaces.
  921. % In the most cases method \var{QueryInterface} of \var{IUnknown} can
  922. % be used to create a new interface.
  923. parser_e_no_access_specifier_in_interfaces=03172_E_Access specifiers can't be used in INTERFACEs and OBJCPROTOCOLs
  924. % The access specifiers \var{public}, \var{private}, \var{protected} and
  925. % \var{published} can't be used in interfaces, Objective-C protocols and categories because all methods
  926. % of an interface/protocol/category must be public.
  927. parser_e_no_vars_in_interfaces=03173_E_An interface, helper or Objective-C protocol or category cannot contain fields
  928. % Declarations of fields are not allowed in interfaces, helpers and Objective-C protocols and categories.
  929. % An interface/helper/protocol/category can contain only methods and properties with method read/write specifiers.
  930. parser_e_no_local_proc_external=03174_E_Can't declare local procedure as EXTERNAL
  931. % Declaring local procedures as external is not possible. Local procedures
  932. % get hidden parameters that will make the chance of errors very high.
  933. parser_w_skipped_fields_before=03175_W_Some fields coming before "$1" weren't initialized
  934. % In Delphi mode, not all fields of a typed constant record have to be
  935. % initialized, but the compiler warns you when it detects such situations.
  936. parser_e_skipped_fields_before=03176_E_Some fields coming before "$1" weren't initialized
  937. % In all syntax modes but Delphi mode, you can't leave some fields uninitialized
  938. % in the middle of a typed constant record.
  939. parser_w_skipped_fields_after=03177_W_Some fields coming after "$1" weren't initialized
  940. % You can leave some fields at the end of a type constant record uninitialized
  941. % (The compiler will initialize them to zero automatically). This may be the cause
  942. % of subtle problems.
  943. parser_e_varargs_need_cdecl_and_external=03178_E_VarArgs directive (or '...' in MacPas) without CDecl/CPPDecl/MWPascal and External
  944. % The varargs directive (or the ``...'' varargs parameter in MacPas mode) can only be
  945. % used with procedures or functions that are declared with \var{external} and one of
  946. % \var{cdecl}, \var{cppdecl} and \var{mwpascal}. This functionality
  947. % is only supported to provide a compatible interface to C functions like printf.
  948. parser_e_self_call_by_value=03179_E_Self must be a normal (call-by-value) parameter
  949. % You can't declare \var{Self} as a const or var parameter, it must always be
  950. % a call-by-value parameter.
  951. parser_e_interface_has_no_guid=03180_E_Interface "$1" has no interface identification
  952. % When you want to assign an interface to a constant, then the interface
  953. % must have a GUID value set.
  954. parser_e_illegal_field_or_method=03181_E_Unknown class field or method identifier "$1"
  955. % Properties must refer to a field or method in the same class.
  956. parser_w_proc_overriding_calling=03182_W_Overriding calling convention "$1" with "$2"
  957. % There are two directives in the procedure declaration that specify a calling
  958. % convention. Only the last directive will be used.
  959. parser_e_no_procvarobj_const=03183_E_Typed constants of the type "procedure of object" can only be initialized with NIL
  960. % You cannot assign the address of a method to a typed constant which has a
  961. % 'procedure of object' type, because such a constant requires two addresses:
  962. % that of the method (which is known at compile time) and that of the object or
  963. % class instance it operates on (which cannot be known at compile time).
  964. parser_e_default_value_only_one_para=03184_E_Default value can only be assigned to one parameter
  965. % It is not possible to specify a default value for several parameters at once.
  966. % The following is invalid:
  967. % \begin{verbatim}
  968. % Procedure MyProcedure (A,B : Integer = 0);
  969. % \end{verbatim}
  970. % Instead, this should be declared as
  971. % \begin{verbatim}
  972. % Procedure MyProcedure (A : Integer = 0; B : Integer = 0);
  973. % \end{verbatim}
  974. parser_e_default_value_expected_for_para=03185_E_Default parameter required for "$1"
  975. % The specified parameter requires a default value.
  976. parser_w_unsupported_feature=03186_W_Use of unsupported feature!
  977. % You're trying to force the compiler into doing something it cannot do yet.
  978. parser_h_c_arrays_are_references=03187_H_C arrays are passed by reference
  979. % Any array passed to a C function is passed
  980. % by a pointer (i.e. by reference).
  981. parser_e_C_array_of_const_must_be_last=03188_E_C array of const must be the last argument
  982. % You cannot add any other argument after an \var{array of const} for
  983. % \var{cdecl} functions, as the size pushed on stack for this argument is
  984. % not known.
  985. parser_h_type_redef=03189_H_Type "$1" redefinition
  986. % This is an indicator that a previously declared type is
  987. % being redefined as something else. This may, or may not
  988. % be, a potential source of errors.
  989. parser_w_cdecl_has_no_high=03190_W_cdecl'ared functions have no high parameter
  990. % Functions declared with the \var{cdecl} modifier do not pass an extra implicit parameter.
  991. parser_w_cdecl_no_openstring=03191_W_cdecl'ared functions do not support open strings
  992. % Openstring is not supported for functions that have the \var{cdecl} modifier.
  993. parser_e_initialized_not_for_threadvar=03192_E_Cannot initialize variables declared as threadvar
  994. % Variables declared as threadvar cannot be initialized with a default value.
  995. % The variables will always be filled with zero at the start of a new thread.
  996. parser_e_msg_only_for_classes=03193_E_Message directive is only allowed in Classes
  997. % The message directive is only supported for Class types.
  998. parser_e_procedure_or_function_expected=03194_E_Procedure or Function expected
  999. % A class method can only be specified for procedures and functions.
  1000. parser_e_illegal_calling_convention=03195_W_Calling convention directive ignored: "$1"
  1001. % Some calling conventions are supported only by certain CPUs. I.e. most non-i386 ports support
  1002. % only the standard ABI calling convention of the CPU.
  1003. parser_e_no_object_reintroduce=03196_E_REINTRODUCE can't be used in objects
  1004. % \var{reintroduce} is not supported for objects, Objective-C classes and Objective-C protocols.
  1005. parser_e_paraloc_only_one_para=03197_E_Each argument must have its own location
  1006. % If locations for arguments are specified explicitly as it is required by
  1007. % some syscall conventions, each argument must have its own location. Things
  1008. % like
  1009. % \begin{verbatim}
  1010. % procedure p(i,j : longint 'r1');
  1011. % \end{verbatim}
  1012. % aren't allowed.
  1013. parser_e_paraloc_all_paras=03198_E_Each argument must have an explicit location
  1014. % If one argument has an explicit argument location, all arguments of a procedure
  1015. % must have one.
  1016. parser_e_illegal_explicit_paraloc=03199_E_Unknown argument location
  1017. % The location specified for an argument isn't recognized by the compiler.
  1018. parser_e_32bitint_or_pointer_variable_expected=03200_E_32 Bit-Integer or pointer variable expected
  1019. % The libbase for MorphOS/AmigaOS can be given only as \var{longint}, \var{dword} or any pointer variable.
  1020. parser_e_goto_outside_proc=03201_E_Goto statements aren't allowed between different procedures
  1021. % It isn't allowed to use \var{goto} statements referencing labels outside the
  1022. % current procedure. The following example shows the problem:
  1023. % \begin{verbatim}
  1024. % ...
  1025. % procedure p1;
  1026. % label
  1027. % l1;
  1028. %
  1029. % procedure p2;
  1030. % begin
  1031. % goto l1; // This goto ISN'T allowed
  1032. % end;
  1033. %
  1034. % begin
  1035. % p2
  1036. % l1:
  1037. % end;
  1038. % ...
  1039. %
  1040. % \end{verbatim}
  1041. parser_f_too_complex_proc=03202_F_Procedure too complex, it requires too many registers
  1042. % Your procedure body is too long for the compiler. You should split the
  1043. % procedure into multiple smaller procedures.
  1044. parser_e_illegal_expression=03203_E_Illegal expression
  1045. % This can occur under many circumstances. Usually when trying to evaluate
  1046. % constant expressions.
  1047. parser_e_invalid_integer=03204_E_Invalid integer expression
  1048. % You made an expression which isn't an integer, and the compiler expects the
  1049. % result to be an integer.
  1050. parser_e_invalid_qualifier=03205_E_Illegal qualifier
  1051. % One of the following is happening :
  1052. % \begin{itemize}
  1053. % \item You're trying to access a field of a variable that is not a record.
  1054. % \item You're indexing a variable that is not an array.
  1055. % \item You're dereferencing a variable that is not a pointer.
  1056. % \end{itemize}
  1057. parser_e_upper_lower_than_lower=03206_E_High range limit < low range limit
  1058. % You are declaring a subrange, and the high limit is less than the low limit of
  1059. % the range.
  1060. parser_e_macpas_exit_wrong_param=03207_E_Exit's parameter must be the name of the procedure it is used in
  1061. % Non local exit is not allowed. This error occurs only in mode MacPas.
  1062. parser_e_illegal_assignment_to_count_var=03208_E_Illegal assignment to for-loop variable "$1"
  1063. % The type of a \var{for} loop variable must be an ordinal type.
  1064. % Loop variables cannot be reals or strings. You also cannot assign values to
  1065. % loop variables inside the loop (Except in Delphi and TP modes). Use a while or
  1066. % repeat loop instead if you need to do something like that, since those
  1067. % constructs were built for that.
  1068. parser_e_no_local_var_external=03209_E_Can't declare local variable as EXTERNAL
  1069. % Declaring local variables as external is not allowed. Only global variables can reference
  1070. % external variables.
  1071. parser_e_proc_already_external=03210_E_Procedure is already declared EXTERNAL
  1072. % The procedure is already declared with the EXTERNAL directive in an interface or
  1073. % forward declaration.
  1074. parser_w_implicit_uses_of_variants_unit=03211_W_Implicit uses of Variants unit
  1075. % The Variant type is used in the unit without any used unit using the Variants unit. The
  1076. % compiler has implicitly added the Variants unit to the uses list. To remove this warning
  1077. % the Variants unit needs to be added to the uses statement.
  1078. parser_e_no_static_method_in_interfaces=03212_E_Class and static methods can't be used in INTERFACES
  1079. % The specifier \var{class} and directive \var{static} can't be used in interfaces
  1080. % because all methods of an interface must be public.
  1081. parser_e_arithmetic_operation_overflow=03213_E_Overflow in arithmetic operation
  1082. % An operation on two integer values produced an overflow.
  1083. parser_e_protected_or_private_expected=03214_E_Protected or private expected
  1084. % \var{strict} can be only used together with \var{protected} or \var{private}.
  1085. parser_e_illegal_slice=03215_E_SLICE can't be used outside of parameter list
  1086. % \var{slice} can be used only for arguments accepting an open array parameter.
  1087. parser_e_dispinterface_cant_have_parent=03216_E_A DISPINTERFACE can't have a parent class
  1088. % A DISPINTERFACE is a special type of interface which can't have a parent class. Dispinterface always derive from IDispatch type.
  1089. parser_e_dispinterface_needs_a_guid=03217_E_A DISPINTERFACE needs a guid
  1090. % A DISPINTERFACE always needs an interface identification (a GUID).
  1091. 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)
  1092. % If you declare overridden methods in a class definition, they must
  1093. % have the same return type. Some versions of Delphi allow you to change the
  1094. % return type of interface methods, and even to change procedures into
  1095. % functions, but the resulting code may crash depending on the types used
  1096. % and the way the methods are called.
  1097. parser_e_dispid_must_be_ord_const=03219_E_Dispatch IDs must be ordinal constants
  1098. % The \var{dispid} keyword must be followed by an ordinal constant (the dispid index).
  1099. parser_e_array_range_out_of_bounds=03220_E_The range of the array is too large
  1100. % Regardless of the size taken up by its elements, an array cannot have more
  1101. % than high(ptrint) elements. Additionally, the range type must be a subrange
  1102. % of ptrint.
  1103. parser_e_packed_element_no_var_addr=03221_E_The address cannot be taken of bit packed array elements and record fields
  1104. % If you declare an array or record as \var{packed} in Mac Pascal mode
  1105. % (or as \var{packed} in any mode with \var{\{\$bitpacking on\}}), it will
  1106. % be packed at the bit level. This means it becomes impossible to take addresses
  1107. % of individual array elements or record fields. The only exception to this rule
  1108. % is in the case of packed arrays elements whose packed size is a multple of 8 bits.
  1109. parser_e_packed_dynamic_open_array=03222_E_Dynamic arrays cannot be packed
  1110. % Only regular (and possibly in the future also open) arrays can be packed.
  1111. parser_e_packed_element_no_loop=03223_E_Bit packed array elements and record fields cannot be used as loop variables
  1112. % If you declare an array or record as \var{packed} in Mac Pascal mode
  1113. % (or as \var{packed} in any mode with \var{\{\$bitpacking on\}}), it will
  1114. % be packed at the bit level. For performance reasons, they cannot be
  1115. % used as loop variables.
  1116. parser_e_type_var_const_only_in_records_and_classes=03224_E_VAR, TYPE and CONST are allowed only in records, objects and classes
  1117. % The usage of VAR, TYPE and CONST to declare new types inside an object is allowed only inside
  1118. % records, objects and classes.
  1119. parser_e_cant_create_generics_of_this_type=03225_E_This type can't be a generic
  1120. % Only Classes, Objects, Interfaces and Records are allowed to be used as generic.
  1121. parser_w_no_lineinfo_use_switch=03226_W_Don't load LINEINFO unit manually, Use the -gl compiler switch instead
  1122. % Do not use the \file{lineinfo} unit directly, Use the \var{-gl} switch which
  1123. % automatically adds the correct unit for reading the selected type of debugging
  1124. % information. The unit that needs to be used depends on the type of
  1125. % debug information used when compiling the binary.
  1126. parser_e_no_funcret_specified=03227_E_No function result type specified for function "$1"
  1127. % The first time you declare a function you have to declare it completely,
  1128. % including all parameters and the result type.
  1129. parser_e_special_onlygenerics=03228_E_Specialization is only supported for generic types
  1130. % Types which are not generics can't be specialized.
  1131. parser_e_no_generics_as_params=03229_E_Generics can't be used as parameters when specializing generics
  1132. % When specializing a generic, only non-generic types can be used as parameters.
  1133. parser_e_type_object_constants=03230_E_Constants of objects containing a VMT aren't allowed
  1134. % If an object requires a VMT either because it contains a constructor or virtual methods,
  1135. % it's not allowed to create constants of it. In TP and Delphi mode this is allowed
  1136. % for compatibility reasons.
  1137. parser_e_label_outside_proc=03231_E_Taking the address of labels defined outside the current scope isn't allowed
  1138. % It isn't allowed to take the address of labels outside the
  1139. % current procedure.
  1140. parser_e_initialized_not_for_external=03233_E_Cannot initialize variables declared as external
  1141. % Variables declared as external cannot be initialized with a default value.
  1142. parser_e_illegal_function_result=03234_E_Illegal function result type
  1143. % Some types like file types cannot be used as function result.
  1144. parser_e_no_common_type=03235_E_No common type possible between "$1" and "$2"
  1145. % To perform an operation on integers, the compiler converts both operands
  1146. % to their common type, which appears to be an invalid type. To determine the
  1147. % common type of the operands, the compiler takes the minimum of the minimal values
  1148. % of both types, and the maximum of the maximal values of both types. The common
  1149. % type is then minimum..maximum.
  1150. parser_e_no_generics_as_types=03236_E_Generics without specialization cannot be used as a type for a variable
  1151. % Generics must be always specialized before being used as variable type.
  1152. parser_w_register_list_ignored=03237_W_Register list is ignored for pure assembler routines
  1153. % When using pure assembler routines, the list with modified registers is ignored.
  1154. parser_e_implements_must_be_class_or_interface=03238_E_Implements property must have class or interface type
  1155. % A property which implements an interface must be of type class or interface.
  1156. parser_e_implements_must_have_correct_type=03239_E_Implements-property must implement interface of correct type, found "$1" expected "$2"
  1157. % A property which implements an interface actually implements a different interface.
  1158. parser_e_implements_must_read_specifier=03240_E_Implements-property must have read specifier
  1159. % A property which implements an interface must have at least a read specifier.
  1160. parser_e_implements_must_not_have_write_specifier=03241_E_Implements-property must not have write-specifier
  1161. % A property which implements an interface may not have a write specifier.
  1162. parser_e_implements_must_not_have_stored_specifier=03242_E_Implements-property must not have stored-specifier
  1163. % A property which implements an interface may not have a stored specifier.
  1164. parser_e_implements_uses_non_implemented_interface=03243_E_Implements-property used on unimplemented interface: "$1"
  1165. % The interface which is implemented by a property is not an interface implemented by the class.
  1166. parser_e_unsupported_real=03244_E_Floating point not supported for this target
  1167. % The compiler parsed a floating point expression, but it is not supported.
  1168. parser_e_class_doesnt_implement_interface=03245_E_Class "$1" does not implement interface "$2"
  1169. % The delegated interface is not implemented by the class given in the implements clause.
  1170. parser_e_class_implements_must_be_interface=03246_E_Type used by implements must be an interface
  1171. % The \var{implements} keyword must be followed by an interface type.
  1172. parser_e_cant_export_var_different_name=03247_E_Variables cannot be exported with a different name on this target, add the name to the declaration using the "export" directive (variable name: $1, declared export name: $2)
  1173. % On most targets it is not possible to change the name under which a variable
  1174. % is exported inside the \var{exports} statement of a library.
  1175. % In that case, you have to specify the export name at the point where the
  1176. % variable is declared, using the \var{export} and \var{alias} directives.
  1177. parser_e_weak_external_not_supported=03248_E_Weak external symbols are not supported for the current target
  1178. % A "weak external" symbol is a symbol which may or may not exist at (either static
  1179. % or dynamic) link time. This concept may not be available (or implemented yet)
  1180. % on the current cpu/OS target.
  1181. parser_e_forward_mismatch=03249_E_Forward type definition does not match
  1182. % Classes and interfaces being defined forward must have the same type
  1183. % when being implemented. A forward interface cannot be changed into a class.
  1184. parser_n_ignore_lower_visibility=03250_N_Virtual method "$1" has a lower visibility ($2) than parent class $3 ($4)
  1185. % The virtual method overrides an method that is declared with a higher visibility. This might give
  1186. % unexpected results. In case the new visibility is private than it might be that a call to inherited in a
  1187. % new child class will call the higher visible method in a parent class and ignores the private method.
  1188. parser_e_field_not_allowed_here=03251_E_Fields cannot appear after a method or property definition, start a new visibility section first
  1189. % Once a method or property has been defined in a class or object, you cannot define any fields afterwards
  1190. % without starting a new visibility section (such as \var{public}, \var{private}, etc.). The reason is
  1191. % that otherwise the source code can appear ambiguous to the compiler, since it is possible to use modifiers
  1192. % such as \var{default} and \var{register} also as field names.
  1193. parser_e_no_local_para_def=03252_E_Parameters or result types cannot contain local type definitions. Use a separate type definition in a type block.
  1194. % In Pascal, types are not considered to be identical simply because they are semantically equivalent.
  1195. % Two variables or parameters are only considered to be of the same type if they refer to the
  1196. % same type definition.
  1197. % As a result, it is not allowed to define new types inside parameter lists, because then it is impossible to
  1198. % refer to the same type definition in the procedure headers of the interface and implementation of a unit
  1199. % (both procedure headers would define a separate type). Keep in mind that expressions such as
  1200. % ``file of byte'' or ``string[50]'' also define a new type.
  1201. parser_e_abstract_and_sealed_conflict=03253_E_ABSTRACT and SEALED conflict
  1202. % ABSTRACT and SEALED cannot be used together in one declaration
  1203. parser_e_sealed_descendant=03254_E_Cannot create a descendant of the sealed class "$1"
  1204. % Sealed means that class cannot be derived by another class.
  1205. parser_e_sealed_class_cannot_have_abstract_methods=03255_E_SEALED class cannot have an ABSTRACT method
  1206. % Sealed means that class cannot be derived. Therefore no one class is able to override an abstract method in a sealed class.
  1207. parser_e_only_virtual_methods_final=03256_E_Only virtual methods can be final
  1208. % You are declaring a method as final, when it is not declared to be
  1209. % virtual.
  1210. parser_e_final_can_no_be_overridden=03257_E_Final method cannot be overridden: "$1"
  1211. % You are trying to \var{override} a virtual method of a parent class that does
  1212. % not exist.
  1213. parser_e_multiple_messages=03258_E_Only one message can be used per method.
  1214. % It is not possible to associate multiple messages with a single method.
  1215. parser_e_invalid_enumerator_identifier=03259_E_Invalid enumerator identifier: "$1"
  1216. % Only "MoveNext" and "Current" enumerator identifiers are supported.
  1217. parser_e_enumerator_identifier_required=03260_E_Enumerator identifier required
  1218. % "MoveNext" or "Current" identifier must follow the \var{enumerator} modifier.
  1219. parser_e_enumerator_movenext_is_not_valid=03261_E_Enumerator MoveNext pattern method is not valid. Method must be a function with the Boolean return type and no required arguments.
  1220. % "MoveNext" enumerator pattern method must be a function with Boolean return type and no required arguments
  1221. parser_e_enumerator_current_is_not_valid=03262_E_Enumerator Current pattern property is not valid. Property must have a getter.
  1222. % "Current" enumerator pattern property must have a getter
  1223. parser_e_only_one_enumerator_movenext=03263_E_Only one enumerator MoveNext method is allowed per class/object
  1224. % Class or Object can have only one enumerator MoveNext declaration.
  1225. parser_e_only_one_enumerator_current=03264_E_Only one enumerator Current property is allowed per class/object
  1226. % Class or Object can have only one enumerator Current declaration.
  1227. parser_e_for_in_loop_cannot_be_used_for_the_type=03265_E_For in loop cannot be used for the type "$1"
  1228. % For in loop can be used not for all types. For example it cannot be used for the enumerations with jumps.
  1229. parser_e_objc_requires_msgstr=03266_E_Objective-C messages require their Objective-C selector name to be specified using the "message" directive.
  1230. % Objective-C messages require their Objective-C name (selector name) to be specified using the \var{message `someName:'} procedure directive.
  1231. % While bindings to other languages automatically generate such names based on the identifier you use (by replacing
  1232. % all underscores with colons), this is unsafe since nothing prevents an Objective-C method name to contain actual
  1233. % colons.
  1234. parser_e_objc_no_constructor_destructor=03267_E_Objective-C does not have formal constructors nor destructors. Use the alloc, initXXX and dealloc messages.
  1235. % The Objective-C language does not have any constructors or destructors. While there are some messages with a similar
  1236. % purpose (such as \var{init} and \var{dealloc}), these cannot be identified using automatic parsers and do not
  1237. % guarantee anything like Pascal constructors/destructors (e.g., you have to take care of only calling ``designated''
  1238. % inherited ``constructors''). For these reasons, we have opted to follow the standard Objective-C patterns for
  1239. % instance creation/destruction.
  1240. parser_e_message_string_too_long=03268_E_Message name is too long (max. 255 characters)
  1241. % Due to compiler implementation reasons, message names are currently limited to 255 characters.
  1242. parser_e_objc_message_name_too_long=03269_E_Objective-C message symbol name for "$1" is too long
  1243. % Due to compiler implementation reasons, mangled message names (i.e., the symbol names used in the assembler
  1244. % code) are currently limited to 255 characters.
  1245. parser_h_no_objc_parent=03270_H_Defining a new Objective-C root class. To derive from another root class (e.g., NSObject), specify it as the parent class.
  1246. % If no parent class is specified for an Object Pascal class, then it automatically derives from TObject.
  1247. % Objective-C classes however do not automatically derive from NSObject, because one can have multiple
  1248. % root classes in Objective-C. For example, in the Cocoa framework both NSObject and NSProxy are root classes.
  1249. % Therefore, you have to explicitly define a parent class (such as NSObject) if you want to derive your
  1250. % Objective-C class from it.
  1251. parser_e_no_objc_published=03271_E_Objective-C classes cannot have published sections.
  1252. % In Object Pascal, ``published'' determines whether or not RTTI is generated. Since the Objective-C runtime always needs
  1253. % RTTI for everything, this specified does not make sense for Objective-C classes.
  1254. parser_f_need_objc=03272_F_This module requires an Objective-C mode switch to be compiled
  1255. % This error indicates the use of Objective-C language features without an Objective-C mode switch
  1256. % active. Enable one via the -M command line switch, or the {\$modeswitch x} directive.
  1257. parser_e_must_use_override=03273_E_Inherited methods can only be overridden in Objective-C and Java, add "override" (inherited method defined in $1)
  1258. parser_h_should_use_override=03274_H_Inherited methods can only be overridden in Objective-C and Java, add "override" (inherited method defined in $1).
  1259. % It is not possible to \var{reintroduce} methods in Objective-C or Java like in Object Pascal. Methods with the same
  1260. % name always map to the same virtual method entry. In order to make this clear in the source code,
  1261. % the compiler always requires the \var{override} directive to be specified when implementing overriding
  1262. % Objective-C or Java methods in Pascal. If the implementation is external, this rule is relaxed because Objective-C and Java
  1263. % do not have any \var{override}-style keyword (since it's the default and only behaviour in these languages),
  1264. % which makes it hard for automated header conversion tools to include it everywhere.
  1265. % The type in which the inherited method is defined is explicitly mentioned, because this may either
  1266. % be an objcclass or an objccategory in case of Objective-C.
  1267. parser_e_objc_message_name_changed=03275_E_Message name "$1" in inherited class is different from message name "$2" in current class.
  1268. % An overriding Objective-C method cannot have a different message name than an inherited method. The reason
  1269. % is that these message names uniquely define the message to the Objective-C runtime, which means that
  1270. % giving them a different message name breaks the ``override'' semantics.
  1271. parser_e_unique_unsupported=03276_E_It is not yet possible to make unique copies of Objective-C or Java types
  1272. % Duplicating an Objective-C or Java type using \var{type x = type y;} is not yet supported. You may be able to
  1273. % obtain the desired effect using \var{type x = objcclass(y) end;} resp.{} \var{type x = class(y) end;} instead.
  1274. parser_e_no_category_as_types=03277_E_Objective-C categories and Object Pascal class helpers cannot be used as types
  1275. % It is not possible to declare a variable as an instance of an Objective-C
  1276. % category or an Object Pascal class helper. A category/class helper adds
  1277. % methods to the scope of an existing class, but does not define a type by
  1278. % itself. An exception of this rule is when inheriting an Object Pascal class
  1279. % helper from another class helper.
  1280. parser_e_no_category_override=03278_E_Categories do not override, but replace methods. Use "reintroduce" instead.
  1281. parser_e_must_use_reintroduce_objc=03279_E_Replaced methods can only be reintroduced in Objective-C, add "reintroduce" (replaced method defined in $1).
  1282. parser_h_should_use_reintroduce_objc=03280_H_Replaced methods can only be reintroduced in Objective-C, add "reintroduce" (replaced method defined in $1).
  1283. % A category replaces an existing method in an Objective-C class, rather than that it overrides it.
  1284. % Calling an inherited method from an category method will call that method in
  1285. % the extended class' parent, not in the extended class itself. The
  1286. % replaced method in the original class is basically lost, and can no longer be
  1287. % called or referred to. This behaviour corresponds somewhat more closely to
  1288. % \var{reintroduce} than to \var{override} (although in case of \var{reintroduce}
  1289. % in Object Pascal, hidden methods are still reachable via inherited).
  1290. % The type in which the inherited method is defined is explicitly mentioned, because this may either
  1291. % be an objcclass or an objccategory.
  1292. parser_e_implements_getter_not_default_cc=03281_E_Getter for implements interface must use the target's default calling convention.
  1293. % Interface getters are called via a helper in the run time library, and hence
  1294. % have to use the default calling convention for the target (\var{register} on
  1295. % i386 and x86\_64, \var{stdcall} on other architectures).
  1296. parser_e_no_refcounted_typed_file=03282_E_Typed files cannot contain reference-counted types.
  1297. % The data in a typed file cannot be of a reference counted type (such as
  1298. % \var{ansistring} or a record containing a field that is reference counted).
  1299. parser_e_operator_not_overloaded_2=03283_E_Operator is not overloaded: $2 "$1"
  1300. % You are trying to use an overloaded operator when it is not overloaded for
  1301. % this type.
  1302. parser_e_operator_not_overloaded_3=03284_E_Operator is not overloaded: "$1" $2 "$3"
  1303. % You are trying to use an overloaded operator when it is not overloaded for
  1304. % this type.
  1305. parser_e_more_array_elements_expected=03285_E_Expected another $1 array elements
  1306. % When declaring a typed constant array, you provided to few elements to initialize the array
  1307. parser_e_string_const_too_long=03286_E_String constant too long while ansistrings are disabled
  1308. % Only when a piece of code is compiled with ansistrings enabled (\var{\{\$H+\}}), string constants
  1309. % longer than 255 characters are allowed.
  1310. parser_e_invalid_univ_para=03287_E_Type cannot be used as univ parameter because its size is unknown at compile time: "$1"
  1311. % \var{univ} parameters are compatible with all values of the same size, but this
  1312. % cannot be checked in case a parameter's size is unknown at compile time.
  1313. parser_e_only_one_class_constructor_allowed=03288_E_Only one class constructor can be declared in class: "$1"
  1314. % You are trying to declare more than one class constructor but only one class constructor can be declared.
  1315. parser_e_only_one_class_destructor_allowed=03289_E_Only one class destructor can be declared in class: "$1"
  1316. % You are trying to declare more than one class destructor but only one class destructor can be declared.
  1317. parser_e_no_paras_for_class_constructor=03290_E_Class constructors can't have parameters
  1318. % You are declaring a class constructor with a parameter list. Class constructor methods
  1319. % cannot have parameters.
  1320. parser_e_no_paras_for_class_destructor=03291_E_Class destructors can't have parameters
  1321. % You are declaring a class destructor with a parameter list. Class destructor methods
  1322. % cannot have parameters.
  1323. parser_f_modeswitch_objc_required=03292_F_This construct requires the \{\$modeswitch objectivec1\} mode switch to be active
  1324. % Objective-Pascal constructs are not supported when \{\$modeswitch ObjectiveC1\}
  1325. % is not active.
  1326. parser_e_widestring_to_ansi_compile_time=03293_E_Unicodechar/string constants cannot be converted to ansi/shortstring at compile-time
  1327. % It is not possible to use unicodechar and unicodestring constants in
  1328. % constant expressions that have to be converted into an ansistring or shortstring
  1329. % at compile time, for example inside typed constants. The reason is that the
  1330. % compiler cannot know what the actual ansi encoding will be at run time.
  1331. parser_e_objc_enumerator_2_0=03294_E_For-in Objective-Pascal loops require \{\$modeswitch ObjectiveC2\} to be active
  1332. % Objective-C ``fast enumeration'' support was added in Objective-C 2.0, and
  1333. % hence the appropriate modeswitch has to be activated to expose this feature.
  1334. % Note that Objective-C 2.0 programs require Mac OS X 10.5 or later.
  1335. parser_e_objc_missing_enumeration_defs=03295_E_The compiler cannot find the NSFastEnumerationProtocol or NSFastEnumerationState type in the CocoaAll unit
  1336. % Objective-C for-in loops (fast enumeration) require that the compiler can
  1337. % find a unit called CocoaAll that contains definitions for the
  1338. % NSFastEnumerationProtocol and NSFastEnumerationState types. If you get this
  1339. % error, most likely the compiler is finding and loading an alternate CocoaAll
  1340. % unit.
  1341. parser_e_no_procvarnested_const=03296_E_Typed constants of the type 'procedure is nested' can only be initialized with NIL and global procedures/functions
  1342. % A nested procedural variable consists of two components: the address of the
  1343. % procedure/function to call (which is always known at compile time), and also
  1344. % a parent frame pointer (which is never known at compile time) in case the
  1345. % procedural variable contains a reference to a nested procedure/function.
  1346. % Therefore such typed constants can only be initialized with global
  1347. % functions/procedures since these do not require a parent frame pointer.
  1348. parser_f_no_generic_inside_generic=03297_F_Declaration of generic class inside another generic class is not allowed
  1349. % At the moment, scanner supports recording of only one token buffer at the time
  1350. % (guarded by internal error 200511173 in tscannerfile.startrecordtokens).
  1351. % Since generics are implemented by recording tokens, it is not possible to
  1352. % have declaration of generic class inside another generic class.
  1353. parser_e_forward_intf_declaration_must_be_resolved=03298_E_Forward declaration "$1" must be resolved before a class can conform to or implement it
  1354. % An Objective-C protocol or Java Interface must be fully defined before classes can conform to it.
  1355. % This error occurs in the following situation (example for Objective-C, but the same goes for Java interfaces):
  1356. % \begin{verbatim}
  1357. % Type MyProtocol = objcprotoocl;
  1358. % ChildClass = Class(NSObject,MyProtocol)
  1359. % ...
  1360. % end;
  1361. % \end{verbatim}
  1362. % where \var{MyProtocol} is declared but not defined.
  1363. parser_e_no_record_published=03299_E_Record types cannot have published sections
  1364. % Published sections can be used only inside classes.
  1365. parser_e_no_destructor_in_records=03300_E_Destructors aren't allowed in records or helpers
  1366. % Destructor declarations aren't allowed in records or helpers.
  1367. parser_e_class_methods_only_static_in_records=03301_E_Class methods must be static in records
  1368. % Class methods declarations aren't allowed in records without static modifier.
  1369. % Records have no inheritance and therefore non static class methods have no sence for them.
  1370. parser_e_no_constructor_in_records=03302_E_Constructors aren't allowed in records or record helpers
  1371. % Constructor declarations aren't allowed in records or record helpers.
  1372. parser_e_at_least_one_argument_must_be_of_type=03303_E_Either the result or at least one parameter must be of type "$1"
  1373. % It is required that either the result of the routine or at least one of its parameters be of the specified type.
  1374. % For example class operators either take an instance of the structured type in which they are defined, or they return one.
  1375. parser_e_cant_use_type_parameters_here=03304_E_Type parameters may require initialization/finalization - can't be used in variant records
  1376. % Type parameters may be specialized with types which (e.g. \var{ansistring}) need initialization/finalization
  1377. % code which is implicitly generated by the compiler.
  1378. parser_e_externals_no_section=03305_E_Variables being declared as external cannot be in a custom section
  1379. % A section directive is not valid for variables being declared as external.
  1380. parser_e_section_no_locals=03306_E_Non-static and non-global variables cannot have a section directive
  1381. % A variable placed in a custom section is always statically allocated so it must be either a static or global variable.
  1382. parser_e_not_allowed_in_helper=03307_E_"$1" is not allowed in helper types
  1383. % Some directives and specifiers like "virtual", "dynamic", "override" aren't
  1384. % allowed inside helper types in mode ObjFPC (they are ignored in mode Delphi),
  1385. % because they have no meaning within helpers. Also "abstract" isn't allowed in
  1386. % either mode.
  1387. parser_e_no_class_constructor_in_helpers=03308_E_Class constructors aren't allowed in helpers
  1388. % Class constructor declarations aren't allowed in helpers.
  1389. parser_e_inherited_not_in_record=03309_E_The use of "inherited" is not allowed in a record
  1390. % As records don't suppport inheritance the use of "inherited" is prohibited for
  1391. % these as well as for record helpers (in mode "Delphi" only).
  1392. parser_e_no_types_in_local_anonymous_records=03310_E_Type declarations are not allowed in local or anonymous records
  1393. % Records with types must be defined globally. Types cannot be defined inside records which are defined in a
  1394. % procedure or function or in anonymous records.
  1395. parser_e_duplicate_implements_clause=03311_E_Duplicate implements clause for interface "$1"
  1396. % A class may delegate an interface using the "implements" clause only to a single property. Delegating it multiple times
  1397. % is a error.
  1398. parser_e_mapping_no_implements=03312_E_Interface "$1" can't be delegated by "$2", it already has method resolutions
  1399. % Method resolution clause maps a method of an interface to a method of the current class. Therefore the current class
  1400. % has to implement the interface directly. Delegation is not possible.
  1401. parser_e_implements_no_mapping=03313_E_Interface "$1" can't have method resolutions, "$2" already delegates it
  1402. % Method resoulution is only possible for interfaces that are implemented directly, not by delegation.
  1403. parser_e_final_only_const_var=03314_E_Only fields (var-sections) and constants can be final in object types
  1404. % A final (class) field must be assigned a single value in the (class) constructor, and cannot
  1405. % be overwritten afterwards. A final (typed) constant is read-only.
  1406. parser_e_final_only_external=03315_E_Final fields are currently only supported for external classes
  1407. % Support for final fields in non-external classes requires a full data flow
  1408. % analysis implementation in FPC, which it currently still lacks.
  1409. parser_e_no_typed_const=03316_E_Typed constants are not allowed here, only formal constants are
  1410. % Java interfaces define a namespace in which formal constant can be defined,
  1411. % but since they define no storage it is not possible to define typed constants
  1412. % in them (those are more or less the same as initialised class fields).
  1413. parser_e_java_no_inherited_constructor=03317_E_Constructors are not automatically inherited in the JVM; explicitly add a constructor that calls the inherited one if you need it
  1414. % Java does not automatically add inherited constructors to child classes, so that they can be hidden.
  1415. % For compatibility with external Java code, FPC does the same. If you require access to the same
  1416. % constructors in a child class, define them in the child class and call the inherited one from
  1417. % there.
  1418. parser_d_internal_parser_string=03318_D_Parsing internally generated code: $1
  1419. % The compiler sometimes internally constructs Pascal code that is subsequently
  1420. % injected into the program. These messages display such code, in order to help
  1421. % with debugging errors in them.
  1422. parser_e_feature_unsupported_for_vm=03319_E_This language feature is not supported on managed VM targets
  1423. % Certain language features are not supported on targets that are managed virtual machines.
  1424. % \end{description}
  1425. # Type Checking
  1426. #
  1427. # 04106 is the last used one
  1428. #
  1429. % \section{Type checking errors}
  1430. % This section lists all errors that can occur when type checking is
  1431. % performed.
  1432. % \begin{description}
  1433. type_e_mismatch=04000_E_Type mismatch
  1434. % This can happen in many cases:
  1435. % \begin{itemize}
  1436. % \item The variable you're assigning to is of a different type than the
  1437. % expression in the assignment.
  1438. % \item You are calling a function or procedure with parameters that are
  1439. % incompatible with the parameters in the function or procedure definition.
  1440. % \end{itemize}
  1441. type_e_incompatible_types=04001_E_Incompatible types: got "$1" expected "$2"
  1442. % There is no conversion possible between the two types.
  1443. % Another possiblity is that they are declared in different
  1444. % declarations:
  1445. % \begin{verbatim}
  1446. % Var
  1447. % A1 : Array[1..10] Of Integer;
  1448. % A2 : Array[1..10] Of Integer;
  1449. %
  1450. % Begin
  1451. % A1:=A2; { This statement also gives this error. It
  1452. % is due to the strict type checking of Pascal }
  1453. % End.
  1454. % \end{verbatim}
  1455. type_e_not_equal_types=04002_E_Type mismatch between "$1" and "$2"
  1456. % The types are not equal.
  1457. type_e_type_id_expected=04003_E_Type identifier expected
  1458. % The identifier is not a type, or you forgot to supply a type identifier.
  1459. type_e_variable_id_expected=04004_E_Variable identifier expected
  1460. % This happens when you pass a constant to a routine (such as \var{Inc} var or \var{Dec})
  1461. % when it expects a variable. You can only pass variables as arguments to these functions.
  1462. type_e_integer_expr_expected=04005_E_Integer expression expected, but got "$1"
  1463. % The compiler expects an expression of type integer, but gets a different
  1464. % type.
  1465. type_e_boolean_expr_expected=04006_E_Boolean expression expected, but got "$1"
  1466. % The expression must be a boolean type. It should be return \var{True} or
  1467. % \var{False}.
  1468. type_e_ordinal_expr_expected=04007_E_Ordinal expression expected
  1469. % The expression must be of ordinal type, i.e., maximum a \var{Longint}.
  1470. % This happens, for instance, when you specify a second argument
  1471. % to \var{Inc} or \var{Dec} that doesn't evaluate to an ordinal value.
  1472. type_e_pointer_type_expected=04008_E_pointer type expected, but got "$1"
  1473. % The variable or expression isn't of the type \var{pointer}. This
  1474. % happens when you pass a variable that isn't a pointer to \var{New}
  1475. % or \var{Dispose}.
  1476. type_e_class_type_expected=04009_E_class type expected, but got "$1"
  1477. % The variable or expression isn't of the type \var{class}. This happens
  1478. % typically when
  1479. % \begin{enumerate}
  1480. % \item The parent class in a class declaration isn't a class.
  1481. % \item An exception handler (\var{On}) contains a type identifier that
  1482. % isn't a class.
  1483. % \end{enumerate}
  1484. type_e_cant_eval_constant_expr=04011_E_Can't evaluate constant expression
  1485. % This error can occur when the bounds of an array you declared do
  1486. % not evaluate to ordinal constants.
  1487. type_e_set_element_are_not_comp=04012_E_Set elements are not compatible
  1488. % You are trying to perform an operation on two sets, when the set element types
  1489. % are not the same. The base type of a set must be the same when taking the
  1490. % union.
  1491. type_e_set_operation_unknown=04013_E_Operation not implemented for sets
  1492. % several binary operations are not defined for sets.
  1493. % These include: \var{div}, \var{mod}, \var{**}, \var{>=} and \var{<=}.
  1494. % The last two may be defined for sets in the future.
  1495. type_w_convert_real_2_comp=04014_W_Automatic type conversion from floating type to COMP which is an integer type
  1496. % An implicit type conversion from a real type to a \var{comp} is
  1497. % encountered. Since \var{comp} is a 64 bit integer type, this may indicate
  1498. % an error.
  1499. type_h_use_div_for_int=04015_H_use DIV instead to get an integer result
  1500. % When hints are on, then an integer division with the '/' operator will
  1501. % produce this message, because the result will then be of type real.
  1502. type_e_strict_var_string_violation=04016_E_String types have to match exactly in $V+ mode
  1503. % When compiling in \var{\{\$V+\}} mode, the string you pass as a parameter
  1504. % should be of the exact same type as the declared parameter of the procedure.
  1505. type_e_succ_and_pred_enums_with_assign_not_possible=04017_E_succ or pred on enums with assignments not possible
  1506. % If you declare an enumeration type which has C-like assignments
  1507. % in it, such as in the following:
  1508. % \begin{verbatim}
  1509. % Tenum = (a,b,e:=5);
  1510. % \end{verbatim}
  1511. % then you cannot use the \var{Succ} or \var{Pred} functions with this enumeration.
  1512. type_e_cant_read_write_type=04018_E_Can't read or write variables of this type
  1513. % You are trying to \var{read} or \var{write} a variable from or to a
  1514. % file of type text, which doesn't support that variable's type.
  1515. % Only integer types, reals, pchars and strings can be read from or
  1516. % written to a text file. Booleans can only be written to text files.
  1517. type_e_no_readln_writeln_for_typed_file=04019_E_Can't use readln or writeln on typed file
  1518. % \var{readln} and \var{writeln} are only allowed for text files.
  1519. type_e_no_read_write_for_untyped_file=04020_E_Can't use read or write on untyped file.
  1520. % \var{read} and \var{write} are only allowed for text or typed files.
  1521. type_e_typeconflict_in_set=04021_E_Type conflict between set elements
  1522. % There is at least one set element which is of the wrong type, i.e. not of
  1523. % the set type.
  1524. type_w_maybe_wrong_hi_lo=04022_W_lo/hi(dword/qword) returns the upper/lower word/dword
  1525. % \fpc supports an overloaded version of \var{lo/hi} for \var{longint/dword/int64/qword}
  1526. % which returns the lower/upper word/dword of the argument. \tp always uses
  1527. % a 16 bit \var{lo/hi} which always returns bits 0..7 for \var{lo} and the
  1528. % bits 8..15 for \var{hi}. If you want the \tp behavior you have
  1529. % to type cast the argument to a \var{word} or \var{integer}.
  1530. type_e_integer_or_real_expr_expected=04023_E_Integer or real expression expected
  1531. % The first argument to \var{str} must be a real or integer type.
  1532. type_e_wrong_type_in_array_constructor=04024_E_Wrong type "$1" in array constructor
  1533. % You are trying to use a type in an array constructor which is not
  1534. % allowed.
  1535. type_e_wrong_parameter_type=04025_E_Incompatible type for arg no. $1: Got "$2", expected "$3"
  1536. % You are trying to pass an invalid type for the specified parameter.
  1537. type_e_no_method_and_procedure_not_compatible=04026_E_Method (variable) and Procedure (variable) are not compatible
  1538. % You can't assign a method to a procedure variable or a procedure to a
  1539. % method pointer.
  1540. type_e_wrong_math_argument=04027_E_Illegal constant passed to internal math function
  1541. % The constant argument passed to a \var{ln} or \var{sqrt} function is out of
  1542. % the definition range of these functions.
  1543. type_e_no_addr_of_constant=04028_E_Can't take the address of constant expressions
  1544. % It is not possible to get the address of a constant expression, because they
  1545. % aren't stored in memory. You can try making it a typed constant. This error
  1546. % can also be displayed if you try to pass a property to a var parameter.
  1547. type_e_argument_cant_be_assigned=04029_E_Argument can't be assigned to
  1548. % Only expressions which can be on the left side of an
  1549. % assignment can be passed as call by reference arguments.
  1550. %
  1551. % Remark: Properties can be used on the left side of an assignment,
  1552. % nevertheless they cannot be used as arguments.
  1553. type_e_cannot_local_proc_to_procvar=04030_E_Can't assign local procedure/function to procedure variable
  1554. % It's not allowed to assign a local procedure/function to a
  1555. % procedure variable, because the calling convention of a local procedure/function is
  1556. % different. You can only assign local procedure/function to a void pointer.
  1557. type_e_no_assign_to_addr=04031_E_Can't assign values to an address
  1558. % It is not allowed to assign a value to an address of a variable, constant,
  1559. % procedure or function. You can try compiling with -So if the identifier
  1560. % is a procedure variable.
  1561. type_e_no_assign_to_const=04032_E_Can't assign values to const variable
  1562. % It's not allowed to assign a value to a variable which is declared
  1563. % as a const. This is normally a parameter declared as const. To allow
  1564. % changing the value, pass the parameter by value, or a parameter by reference
  1565. % (using var).
  1566. type_e_array_required=04033_E_Array type required
  1567. % If you are accessing a variable using an index '[<x>]' then
  1568. % the type must be an array. In FPC mode a pointer is also allowed.
  1569. type_e_interface_type_expected=04034_E_interface type expected, but got "$1"
  1570. % The compiler expected to encounter an interface type name, but got something else.
  1571. % The following code would produce this error:
  1572. % \begin{verbatim}
  1573. % Type
  1574. % TMyStream = Class(TStream,Integer)
  1575. % \end{verbatim}
  1576. type_h_mixed_signed_unsigned=04035_H_Mixing signed expressions and longwords gives a 64bit result
  1577. % If you divide (or calculate the modulus of) a signed expression by a longword (or vice versa),
  1578. % or if you have overflow and/or range checking turned on and use an arithmetic
  1579. % expression (+, -, *, div, mod) in which both signed numbers and longwords appear,
  1580. % then everything has to be evaluated in 64-bit arithmetic which is slower than normal
  1581. % 32-bit arithmetic. You can avoid this by typecasting one operand so it
  1582. % matches the result type of the other one.
  1583. type_w_mixed_signed_unsigned2=04036_W_Mixing signed expressions and cardinals here may cause a range check error
  1584. % If you use a binary operator (and, or, xor) and one of
  1585. % the operands is a longword while the other one is a signed expression, then,
  1586. % if range checking is turned on, you may get a range check error because in
  1587. % such a case both operands are converted to longword before the operation is
  1588. % carried out. You can avoid this by typecasting one operand so it
  1589. % matches the result type of the other one.
  1590. type_e_typecast_wrong_size_for_assignment=04037_E_Typecast has different size ($1 -> $2) in assignment
  1591. % Type casting to a type with a different size is not allowed when the variable is
  1592. % used in an assignment.
  1593. type_e_array_index_enums_with_assign_not_possible=04038_E_enums with assignments can't be used as array index
  1594. % When you declared an enumeration type which has C-like
  1595. % assignments, such as in the following:
  1596. % \begin{verbatim}
  1597. % Tenum = (a,b,e:=5);
  1598. % \end{verbatim}
  1599. % you cannot use it as the index of an array.
  1600. type_e_classes_not_related=04039_E_Class or Object types "$1" and "$2" are not related
  1601. % There is a typecast from one class or object to another while the class/object
  1602. % are not related. This will probably lead to errors.
  1603. type_w_classes_not_related=04040_W_Class types "$1" and "$2" are not related
  1604. % There is a typecast from one class to another while the classes
  1605. % are not related. This will probably lead to errors.
  1606. type_e_class_or_interface_type_expected=04041_E_Class or interface type expected, but got "$1"
  1607. % The compiler expected a class or interface name, but got another type or identifier.
  1608. type_e_type_is_not_completly_defined=04042_E_Type "$1" is not completely defined
  1609. % This error occurs when a type is not complete: i.e. a pointer type which points to
  1610. % an undefined type.
  1611. type_w_string_too_long=04043_W_String literal has more characters than short string length
  1612. % The size of the constant string, which is assigned to a shortstring,
  1613. % is longer than the maximum size of the shortstring (255 characters).
  1614. type_w_signed_unsigned_always_false=04044_W_Comparison is always false due to range of values
  1615. % There is a comparison between an unsigned value and a signed constant which is
  1616. % less than zero. Because of type promotion, the statement will always evaluate to
  1617. % false. Explicitly typecast the constant to the correct range to avoid this problem.
  1618. type_w_signed_unsigned_always_true=04045_W_Comparison is always true due to range of values
  1619. % There is a comparison between an unsigned value and a signed constant which is
  1620. % less than zero. Because of type promotion, the statement will always evaluate to
  1621. % true. Explicitly typecast the constant to the correct range to avoid this problem.
  1622. type_w_instance_with_abstract=04046_W_Constructing a class "$1" with abstract method "$2"
  1623. % An instance of a class is created which contains non-implemented abstract
  1624. % methods. This will probably lead to a runtime error 211 in the code if that
  1625. % routine is ever called. All abstract methods should be overridden.
  1626. type_h_in_range_check=04047_H_The left operand of the IN operator should be byte sized
  1627. % The left operand of the \var{in} operator is not an ordinal or enumeration which fits
  1628. % within 8 bits. This may lead to range check errors. The \var{in} operator
  1629. % currently only supports a left operand which fits within a byte. In the case of
  1630. % enumerations, the size of an element of an enumeration can be controlled with
  1631. % the \var{\{\$PACKENUM\}} or \var{\{\$Zn\}} switches.
  1632. type_w_smaller_possible_range_check=04048_W_Type size mismatch, possible loss of data / range check error
  1633. % There is an assignment to a smaller type than the source type. This means that
  1634. % this may cause a range-check error, or may lead to possible loss of data.
  1635. type_h_smaller_possible_range_check=04049_H_Type size mismatch, possible loss of data / range check error
  1636. % There is an assignment to a smaller type than the source type. This means that
  1637. % this may cause a range-check error, or may lead to possible loss of data.
  1638. type_e_cant_take_address_of_abstract_method=04050_E_The address of an abstract method can't be taken
  1639. % An abstract method has no body, so the address of an abstract method can't be taken.
  1640. type_e_assignment_not_allowed=04051_E_Assignments to formal parameters and open arrays are not possible
  1641. % You are trying to assign a value to a formal (untyped var, const or out)
  1642. % parameter, or to an open array.
  1643. type_e_constant_expr_expected=04052_E_Constant Expression expected
  1644. % The compiler expects an constant expression, but gets a variable expression.
  1645. type_e_operator_not_supported_for_types=04053_E_Operation "$1" not supported for types "$2" and "$3"
  1646. % The operation is not allowed for the supplied types.
  1647. type_e_illegal_type_conversion=04054_E_Illegal type conversion: "$1" to "$2"
  1648. % When doing a type-cast, you must take care that the sizes of the variable and
  1649. % the destination type are the same.
  1650. type_h_pointer_to_longint_conv_not_portable=04055_H_Conversion between ordinals and pointers is not portable
  1651. % If you typecast a pointer to a longint (or vice-versa), this code will not compile
  1652. % on a machine using 64 bits addressing.
  1653. type_w_pointer_to_longint_conv_not_portable=04056_W_Conversion between ordinals and pointers is not portable
  1654. % If you typecast a pointer to an ordinal type of a different size (or vice-versa), this can
  1655. % cause problems. This is a warning to help in finding the 32-bit specific code where cardinal/longint is used
  1656. % to typecast pointers to ordinals. A solution is to use the ptrint/ptruint types instead.
  1657. type_e_cant_choose_overload_function=04057_E_Can't determine which overloaded function to call
  1658. % You're calling overloaded functions with a parameter that doesn't correspond
  1659. % to any of the declared function parameter lists. e.g. when you have declared
  1660. % a function with parameters \var{word} and \var{longint}, and then you call
  1661. % it with a parameter which is of type \var{integer}.
  1662. type_e_illegal_count_var=04058_E_Illegal counter variable
  1663. % The type of a \var{for} loop variable must be an ordinal type.
  1664. % Loop variables cannot be reals or strings.
  1665. type_w_double_c_varargs=04059_W_Converting constant real value to double for C variable argument, add explicit typecast to prevent this.
  1666. % In C, constant real values are double by default. For this reason, if you
  1667. % pass a constant real value to a variable argument part of a C function, FPC
  1668. % by default converts this constant to double as well. If you want to prevent
  1669. % this from happening, add an explicit typecast around the constant.
  1670. type_e_class_or_cominterface_type_expected=04060_E_Class or COM interface type expected, but got "$1"
  1671. % Some operators, such as the AS operator, are only applicable to classes or COM interfaces.
  1672. type_e_no_const_packed_array=04061_E_Constant packed arrays are not yet supported
  1673. % You cannot declare a (bit)packed array as a typed constant.
  1674. type_e_got_expected_packed_array=04062_E_Incompatible type for arg no. $1: Got "$2" expected "(Bit)Packed Array"
  1675. % The compiler expects a (bit)packed array as the specified parameter.
  1676. type_e_got_expected_unpacked_array=04063_E_Incompatible type for arg no. $1: Got "$2" expected "(not packed) Array"
  1677. % The compiler expects a regular (i.e., not packed) array as the specified parameter.
  1678. type_e_no_packed_inittable=04064_E_Elements of packed arrays cannot be of a type which need to be initialised
  1679. % Support for packed arrays of types that need initialization
  1680. % (such as ansistrings, or records which contain ansistrings) is not yet implemented.
  1681. type_e_no_const_packed_record=04065_E_Constant packed records and objects are not yet supported
  1682. % You cannot declare a (bit)packed array as a typed constant at this time.
  1683. type_w_untyped_arithmetic_unportable=04066_W_Arithmetic "$1" on untyped pointer is unportable to {$T+}, suggest typecast
  1684. % Addition/subtraction from an untyped pointer may work differently in \var{\{\$T+\}}.
  1685. % Use a typecast to a typed pointer.
  1686. type_e_cant_take_address_of_local_subroutine=04076_E_Can't take address of a subroutine marked as local
  1687. % The address of a subroutine marked as local can't be taken.
  1688. type_e_cant_export_local=04077_E_Can't export subroutine marked as local from a unit
  1689. % A subroutine marked as local can't be exported from a unit.
  1690. type_e_not_automatable=04078_E_Type is not automatable: "$1"
  1691. % Only byte, integer, longint, smallint, currency, single, double, ansistring,
  1692. % widestring, tdatetime, variant, olevariant, wordbool and all interfaces are automatable.
  1693. type_h_convert_add_operands_to_prevent_overflow=04079_H_Converting the operands to "$1" before doing the add could prevent overflow errors.
  1694. % Adding two types can cause overflow errors. Since you are converting the result to a larger type, you
  1695. % could prevent such errors by converting the operands to this type before doing the addition.
  1696. type_h_convert_sub_operands_to_prevent_overflow=04080_H_Converting the operands to "$1" before doing the subtract could prevent overflow errors.
  1697. % Subtracting two types can cause overflow errors. Since you are converting the result to a larger type, you
  1698. % could prevent such errors by converting the operands to this type before doing the subtraction.
  1699. type_h_convert_mul_operands_to_prevent_overflow=04081_H_Converting the operands to "$1" before doing the multiply could prevent overflow errors.
  1700. % Multiplying two types can cause overflow errors. Since you are converting the result to a larger type, you
  1701. % could prevent such errors by converting the operands to this type before doing the multiplication.
  1702. type_w_pointer_to_signed=04082_W_Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
  1703. % The virtual address space on 32-bit machines runs from \$00000000 to \$ffffffff.
  1704. % Many operating systems allow you to allocate memory above \$80000000.
  1705. % For example both \windows and \linux allow pointers in the range \$0000000 to \$bfffffff.
  1706. % If you convert pointers to signed types, this can cause overflow and range check errors,
  1707. % but also \$80000000 < \$7fffffff. This can cause random errors in code like "if p>q".
  1708. type_e_interface_has_no_guid=04083_E_Interface type $1 has no valid GUID
  1709. % When applying the as-operator to an interface or class, the desired interface (i.e. the right operand of the
  1710. % as-operator) must have a valid GUID.
  1711. type_e_invalid_objc_selector_name=04084_E_Invalid selector name "$1"
  1712. % An Objective-C selector cannot be empty, must be a valid identifier or a single colon,
  1713. % and if it contains at least one colon it must also end in one.
  1714. type_e_expected_objc_method_but_got=04085_E_Expected Objective-C method, but got $1
  1715. % A selector can only be created for Objective-C methods, not for any other kind
  1716. % of procedure/function/method.
  1717. type_e_expected_objc_method=04086_E_Expected Objective-C method or constant method name
  1718. % A selector can only be created for Objective-C methods, either by specifying
  1719. % the name using a string constant, or by using an Objective-C method identifier
  1720. % that is visible in the current scope.
  1721. type_e_no_type_info=04087_E_No type info available for this type
  1722. % Type information is not generated for some types, such as enumerations with gaps
  1723. % in their value range (this includes enumerations whose lower bound is different
  1724. % from zero).
  1725. type_e_ordinal_or_string_expr_expected=04088_E_Ordinal or string expression expected
  1726. % The expression must be an ordinal or string type.
  1727. type_e_string_expr_expected=04089_E_String expression expected
  1728. % The expression must be a string type.
  1729. type_w_zero_to_nil=04090_W_Converting 0 to NIL
  1730. % Use NIL rather than 0 when initialising a pointer.
  1731. type_e_protocol_type_expected=04091_E_Objective-C protocol type expected, but got "$1"
  1732. % The compiler expected a protocol type name, but found something else.
  1733. type_e_objc_type_unsupported=04092_E_The type "$1" is not supported for interaction with the Objective-C runtime.
  1734. % Objective-C makes extensive use of run time type information (RTTI). This format
  1735. % is defined by the maintainers of the run time and can therefore not be adapted
  1736. % to all possible Object Pascal types. In particular, types that depend on
  1737. % reference counting by the compiler (such as ansistrings and certain kinds of
  1738. % interfaces) cannot be used as fields of Objective-C classes, cannot be
  1739. % directly passed to Objective-C methods, and cannot be encoded using \var{objc\_encode}.
  1740. type_e_class_or_objcclass_type_expected=04093_E_Class or objcclass type expected, but got "$1"
  1741. % It is only possible to create class reference types of \var{class} and \var{objcclass}
  1742. type_e_objcclass_type_expected=04094_E_Objcclass type expected
  1743. % The compiler expected an \var{objcclass} type
  1744. type_w_procvar_univ_conflicting_para=04095_W_Coerced univ parameter type in procedural variable may cause crash or memory corruption: $1 to $2
  1745. % \var{univ} parameters are implicitly compatible with all types of the same size,
  1746. % also in procedural variable definitions. That means that the following code is
  1747. % legal, because \var{single} and \var{longint} have the same size:
  1748. % \begin{verbatim}
  1749. % {$mode macpas}
  1750. % Type
  1751. % TIntProc = procedure (l: univ longint);
  1752. %
  1753. % procedure test(s: single);
  1754. % begin
  1755. % writeln(s);
  1756. % end;
  1757. %
  1758. % var
  1759. % p: TIntProc;
  1760. % begin
  1761. % p:=test;
  1762. % p(4);
  1763. % end.
  1764. % \end{verbatim}
  1765. % This code may however crash on platforms that pass integers in registers and
  1766. % floating point values on the stack, because then the stack will be unbalanced.
  1767. % Note that this warning will not flagg all potentially dangerous situations.
  1768. % when \var{test} returns.
  1769. type_e_generics_cannot_reference_itself=04096_E_Type parameters of specializations of generics cannot reference the currently specialized type
  1770. % Recursive specializations of generics like \var{Type MyType = specialize MyGeneric<MyType>;} are not possible.
  1771. type_e_type_parameters_are_not_allowed_here=04097_E_Type parameters are not allowed on non-generic class/record/object procedure or function
  1772. % Type parameters are only allowed for methods of generic classes, records or objects
  1773. type_e_generic_declaration_does_not_match=04098_E_Generic declaration of "$1" differs from previous declaration
  1774. % Generic declaration does not match the previous declaration
  1775. type_e_helper_type_expected=04099_E_Helper type expected
  1776. % The compiler expected a \var{class helper} type.
  1777. type_e_record_type_expected=04100_E_Record type expected
  1778. % The compiler expected a \var{record} type.
  1779. type_e_class_helper_must_extend_subclass=04101_E_Derived class helper must extend a subclass of "$1" or the class itself
  1780. % If a class helper inherits from another class helper the extended class must
  1781. % extend either the same class as the parent class helper or a subclass of it
  1782. type_e_record_helper_must_extend_same_record=04102_E_Derived record helper must extend "$1"
  1783. % If a record helper inherits from another record helper it must extend the same
  1784. % record that the parent record helper extended.
  1785. type_e_java_class_method_not_static_virtual=04103_E_JVM virtual class methods cannot be static
  1786. % Virtual class methods cannot be static when targetting the JVM platform, because
  1787. % the self pointer is required for correct dispatching.
  1788. type_e_invalid_final_assignment=04104_E_Final (class) fields can only be assigned in their class' (class) constructor
  1789. % It is only possible to assign a value to a final (class) field inside a (class) constructor of its owning class.
  1790. type_e_no_managed_formal_assign_typecast=04105_E_It is not possible to typecast untyped parameters on managed platforms, simply assign a value to them instead.
  1791. % On managed platforms, untyped parameters are translated by the compiler into
  1792. % the equivalent of \var{var x: BaseClassType}. Non-class-based types passed to
  1793. % such parameters are automatically wrapped (or boxed) in a class, and after the
  1794. % call the potentially modified value is assigned back to the original variable.
  1795. % On the caller side, changing untyped var/out parameters happens by simply assigning
  1796. % values to them (either class-based or primitive ones). On the caller side,
  1797. % they will be extracted and if their type does not match the original variable's,
  1798. % an exception will be raised.
  1799. type_e_no_managed_assign_generic_typecast=04106_E_The assignment side of an expression cannot be typecasted to a supertype on managed platforms
  1800. % Managed platforms guarantee type safety at the bytecode level. This means that the virtual machine must be able
  1801. % to statically determine that no type-unsafe assignments or operations occur. By assigning a parent class type to a
  1802. % variable of a child type by typecasting the assignment side to the parent class type, the type safety would no
  1803. % longer be guaranteed and the generated code would fail verification at run time time.
  1804. %
  1805. %
  1806. % \end{description}
  1807. #
  1808. # Symtable
  1809. #
  1810. # 05086 is the last used one
  1811. #
  1812. % \section{Symbol handling}
  1813. % This section lists all the messages that concern the handling of symbols.
  1814. % This means all things that have to do with procedure and variable names.
  1815. % \begin{description}
  1816. sym_e_id_not_found=05000_E_Identifier not found "$1"
  1817. % The compiler doesn't know this symbol. Usually happens when you misspell
  1818. % the name of a variable or procedure, or when you forget to declare a
  1819. % variable.
  1820. sym_f_internal_error_in_symtablestack=05001_F_Internal Error in SymTableStack()
  1821. % An internal error occurred in the compiler; If you encounter such an error,
  1822. % please contact the developers and try to provide an exact description of
  1823. % the circumstances in which the error occurs.
  1824. sym_e_duplicate_id=05002_E_Duplicate identifier "$1"
  1825. % The identifier was already declared in the current scope.
  1826. sym_h_duplicate_id_where=05003_H_Identifier already defined in $1 at line $2
  1827. % The identifier was already declared in a previous scope.
  1828. sym_e_unknown_id=05004_E_Unknown identifier "$1"
  1829. % The identifier encountered has not been declared, or is used outside the
  1830. % scope where it is defined.
  1831. sym_e_forward_not_resolved=05005_E_Forward declaration not solved "$1"
  1832. % This can happen in two cases:
  1833. % \begin{itemize}
  1834. % \item You declare a function in the \var{interface} part, or
  1835. % with a \var{forward} directive, but do not implement it.
  1836. % \item You reference a type which isn't declared in the current \var{type}
  1837. % block.
  1838. % \end{itemize}
  1839. sym_e_error_in_type_def=05007_E_Error in type definition
  1840. % There is an error in your definition of a new array type.
  1841. % One of the range delimiters in an array declaration is erroneous.
  1842. % For example, \var{Array [1..1.25]} will trigger this error.
  1843. sym_e_forward_type_not_resolved=05009_E_Forward type not resolved "$1"
  1844. % A symbol was forward defined, but no declaration was encountered.
  1845. sym_e_only_static_in_static=05010_E_Only static variables can be used in static methods or outside methods
  1846. % A static method of an object can only access static variables.
  1847. sym_f_type_must_be_rec_or_class=05012_F_record or class type expected
  1848. % The variable or expression isn't of the type \var{record} or \var{class}.
  1849. sym_e_no_instance_of_abstract_object=05013_E_Instances of classes or objects with an abstract method are not allowed
  1850. % You are trying to generate an instance of a class which has an abstract
  1851. % method that wasn't overridden.
  1852. sym_w_label_not_defined=05014_W_Label not defined "$1"
  1853. % A label was declared, but not defined.
  1854. sym_e_label_used_and_not_defined=05015_E_Label used but not defined "$1"
  1855. % A label was declared and used, but not defined.
  1856. sym_e_ill_label_decl=05016_E_Illegal label declaration
  1857. % This error should never happen; it occurs if a label is defined outside a
  1858. % procedure or function.
  1859. sym_e_goto_and_label_not_supported=05017_E_GOTO and LABEL are not supported (use switch -Sg)
  1860. % You must use the -Sg switch to compile a program which has \var{label}s
  1861. % and \var{goto} statements. By default, \var{label} and \var{goto} aren't
  1862. % supported.
  1863. sym_e_label_not_found=05018_E_Label not found
  1864. % A \var{goto label} was encountered, but the label wasn't declared.
  1865. sym_e_id_is_no_label_id=05019_E_identifier isn't a label
  1866. % The identifier specified after the \var{goto} isn't of type label.
  1867. sym_e_label_already_defined=05020_E_label already defined
  1868. % You are defining a label twice. You can define a label only once.
  1869. sym_e_ill_type_decl_set=05021_E_illegal type declaration of set elements
  1870. % The declaration of a set contains an invalid type definition.
  1871. sym_e_class_forward_not_resolved=05022_E_Forward class definition not resolved "$1"
  1872. % You declared a class, but you did not implement it.
  1873. sym_n_unit_not_used=05023_H_Unit "$1" not used in $2
  1874. % The unit referenced in the \var{uses} clause is not used.
  1875. sym_h_para_identifier_not_used=05024_H_Parameter "$1" not used
  1876. % The identifier was declared (locally or globally) but
  1877. % was not used (locally or globally).
  1878. sym_n_local_identifier_not_used=05025_N_Local variable "$1" not used
  1879. % You have declared, but not used, a variable in a procedure or function
  1880. % implementation.
  1881. sym_h_para_identifier_only_set=05026_H_Value parameter "$1" is assigned but never used
  1882. % The identifier was declared (locally or globally) and
  1883. % assigned to, but is not used (locally or globally) after the assignment.
  1884. sym_n_local_identifier_only_set=05027_N_Local variable "$1" is assigned but never used
  1885. % The variable in a procedure or function implementation is declared and
  1886. % assigned to, but is not used after the assignment.
  1887. sym_h_local_symbol_not_used=05028_H_Local $1 "$2" is not used
  1888. % A local symbol is never used.
  1889. sym_n_private_identifier_not_used=05029_N_Private field "$1.$2" is never used
  1890. % The indicated private field is defined, but is never used in the code.
  1891. sym_n_private_identifier_only_set=05030_N_Private field "$1.$2" is assigned but never used
  1892. % The indicated private field is declared and assigned to, but never read.
  1893. sym_n_private_method_not_used=05031_N_Private method "$1.$2" never used
  1894. % The indicated private method is declared but is never used in the code.
  1895. sym_e_set_expected=05032_E_Set type expected
  1896. % The variable or expression is not of type \var{set}. This happens in an
  1897. % \var{in} statement.
  1898. sym_w_function_result_not_set=05033_W_Function result does not seem to be set
  1899. % You can get this warning if the compiler thinks that a function return
  1900. % value is not set. This will not be displayed for assembler procedures,
  1901. % or procedures that contain assembler blocks.
  1902. sym_w_wrong_C_pack=05034_W_Type "$1" is not aligned correctly in current record for C
  1903. % Arrays with sizes not multiples of 4 will be wrongly aligned
  1904. % for C structures.
  1905. sym_e_illegal_field=05035_E_Unknown record field identifier "$1"
  1906. % The field doesn't exist in the record/object definition.
  1907. sym_w_uninitialized_local_variable=05036_W_Local variable "$1" does not seem to be initialized
  1908. % This message is displayed if the compiler thinks that a variable will
  1909. % be used (i.e. it appears in the right-hand side of an expression) when it
  1910. % was not initialized first (i.e. appeared in the left-hand side of an
  1911. % assignment).
  1912. sym_w_uninitialized_variable=05037_W_Variable "$1" does not seem to be initialized
  1913. % This message is displayed if the compiler thinks that a variable will
  1914. % be used (i.e. it appears in the right-hand side of an expression) when it
  1915. % was not initialized first (i.e. appeared in the left-hand side of an
  1916. % assignment).
  1917. sym_e_id_no_member=05038_E_identifier idents no member "$1"
  1918. % This error is generated when an identifier of a record,
  1919. % field or method is accessed while it is not defined.
  1920. sym_h_param_list=05039_H_Found declaration: $1
  1921. % You get this when you use the \var{-vh} switch.In the case of an overloaded procedure
  1922. % not being found. Then all candidate overloaded procedures are
  1923. % listed, with their parameter lists.
  1924. sym_e_segment_too_large=05040_E_Data element too large
  1925. % You get this when you declare a data element whose size exceeds the
  1926. % prescribed limit (2 Gb on 80386+/68020+ processors).
  1927. sym_e_no_matching_implementation_found=05042_E_No matching implementation for interface method "$1" found
  1928. % There was no matching method found which could implement the interface
  1929. % method. Check argument types and result type of the methods.
  1930. sym_w_deprecated_symbol=05043_W_Symbol "$1" is deprecated
  1931. % This means that a symbol (a variable, routine, etc...) which is
  1932. % declared as \var{deprecated} is used. Deprecated symbols may no longer
  1933. % be available in newer versions of the unit / library. Use of this symbol
  1934. % should be avoided as much as possible.
  1935. sym_w_non_portable_symbol=05044_W_Symbol "$1" is not portable
  1936. % This means that a symbol (a variable, routine, etc...) which is
  1937. % declared as \var{platform} is used. This symbol's value, use
  1938. % and availability is platform specific and should not be used
  1939. % if the source code must be portable.
  1940. sym_w_non_implemented_symbol=05055_W_Symbol "$1" is not implemented
  1941. % This means that a symbol (a variable, routine, etc...) which is
  1942. % declared as \var{unimplemented} is used. This symbol is defined,
  1943. % but is not yet implemented on this specific platform.
  1944. sym_e_cant_create_unique_type=05056_E_Can't create unique type from this type
  1945. % Only simple types like ordinal, float and string types are supported when
  1946. % redefining a type with \var{type newtype = type oldtype;}.
  1947. sym_h_uninitialized_local_variable=05057_H_Local variable "$1" does not seem to be initialized
  1948. % This message is displayed if the compiler thinks that a variable will
  1949. % be used (i.e. it appears in the right-hand side of an expression) when it
  1950. % was not initialized first (i.e. it did not appear in the left-hand side of an
  1951. % assignment).
  1952. sym_h_uninitialized_variable=05058_H_Variable "$1" does not seem to be initialized
  1953. % This message is displayed if the compiler thinks that a variable will
  1954. % be used (i.e. it appears in the right-hand side of an expression) when it
  1955. % was not initialized first (i.e. t did not appear in the left-hand side of an
  1956. % assignment).
  1957. sym_w_function_result_uninitialized=05059_W_Function result variable does not seem to initialized
  1958. % This message is displayed if the compiler thinks that the function result
  1959. % variable will be used (i.e. it appears in the right-hand side of an expression)
  1960. % before it is initialized (i.e. before it appeared in the left-hand side of an
  1961. % assignment).
  1962. sym_h_function_result_uninitialized=05060_H_Function result variable does not seem to be initialized
  1963. % This message is displayed if the compiler thinks that the function result
  1964. % variable will be used (i.e. it appears in the right-hand side of an expression)
  1965. % before it is initialized (i.e. it appears in the left-hand side of an
  1966. % assignment)
  1967. sym_w_identifier_only_read=05061_W_Variable "$1" read but nowhere assigned
  1968. % You have read the value of a variable, but nowhere assigned a value to
  1969. % it.
  1970. sym_h_abstract_method_list=05062_H_Found abstract method: $1
  1971. % When getting a warning about constructing a class/object with abstract methods
  1972. % you get this hint to assist you in finding the affected method.
  1973. sym_w_experimental_symbol=05063_W_Symbol "$1" is experimental
  1974. % This means that a symbol (a variable, routine, etc...) which is
  1975. % declared as \var{experimental} is used. Experimental symbols
  1976. % might disappear or change semantics in future versions. Usage of this symbol
  1977. % should be avoided as much as possible.
  1978. sym_w_forward_not_resolved=05064_W_Forward declaration "$1" not resolved, assumed external
  1979. % This happens if you declare a function in the \var{interface} of a unit in macpas mode,
  1980. % but do not implement it.
  1981. sym_w_library_symbol=05065_W_Symbol "$1" is belongs to a library
  1982. % This means that a symbol (a variable, routine, etc...) which is
  1983. % declared as \var{library} is used. Library symbols may not be
  1984. % available in other libraries.
  1985. sym_w_deprecated_symbol_with_msg=05066_W_Symbol "$1" is deprecated: "$2"
  1986. % This means that a symbol (a variable, routine, etc...) which is
  1987. % declared as \var{deprecated} is used. Deprecated symbols may no longer
  1988. % be available in newer versions of the unit / library. Use of this symbol
  1989. % should be avoided as much as possible.
  1990. sym_e_no_enumerator=05067_E_Cannot find an enumerator for the type "$1"
  1991. % This means that compiler cannot find an apropriate enumerator to use in the for-in loop.
  1992. % To create an enumerator you need to defind an operator enumerator or add a public or published
  1993. % GetEnumerator method to the class or object definition.
  1994. sym_e_no_enumerator_move=05068_E_Cannot find a "MoveNext" method in enumerator "$1"
  1995. % This means that compiler cannot find a public MoveNext method with the Boolean return type in
  1996. % the enumerator class or object definition.
  1997. sym_e_no_enumerator_current=05069_E_Cannot find a "Current" property in enumerator "$1"
  1998. % This means that compiler cannot find a public Current property in the enumerator class or object
  1999. % definition.
  2000. sym_e_objc_para_mismatch=05070_E_Mismatch between number of declared parameters and number of colons in message string.
  2001. % In Objective-C, a message name automatically contains as many colons as parameters.
  2002. % In order to prevent mistakes when specifying the message name in FPC, the compiler
  2003. % checks whether this is also the case here. Note that in case of messages taking a
  2004. % variable number of arguments translated to FPC via an \var{array of const} parameter,
  2005. % this final \var{array of const} parameter is not counted. Neither are the hidden
  2006. % \var{self} and \var{\_cmd} parameters.
  2007. sym_n_private_type_not_used=05071_N_Private type "$1.$2" never used
  2008. % The indicated private type is declared but is never used in the code.
  2009. sym_n_private_const_not_used=05072_N_Private const "$1.$2" never used
  2010. % The indicated private const is declared but is never used in the code.
  2011. sym_n_private_property_not_used=05073_N_Private property "$1.$2" never used
  2012. % The indicated private property is declared but is never used in the code.
  2013. sym_w_deprecated_unit=05074_W_Unit "$1" is deprecated
  2014. % This means that a unit which is
  2015. % declared as \var{deprecated} is used. Deprecated units may no longer
  2016. % be available in newer versions of the library. Use of this unit
  2017. % should be avoided as much as possible.
  2018. sym_w_deprecated_unit_with_msg=05075_W_Unit "$1" is deprecated: "$2"
  2019. % This means that a unit which is
  2020. % declared as \var{deprecated} is used. Deprecated units may no longer
  2021. % be available in newer versions of the library. Use of this unit
  2022. % should be avoided as much as possible.
  2023. sym_w_non_portable_unit=05076_W_Unit "$1" is not portable
  2024. % This means that a unit which is
  2025. % declared as \var{platform} is used. This unit use
  2026. % and availability is platform specific and should not be used
  2027. % if the source code must be portable.
  2028. sym_w_library_unit=05077_W_Unit "$1" is belongs to a library
  2029. % This means that a unit which is
  2030. % declared as \var{library} is used. Library units may not be
  2031. % available in other libraries.
  2032. sym_w_non_implemented_unit=05078_W_Unit "$1" is not implemented
  2033. % This means that a unit which is
  2034. % declared as \var{unimplemented} is used. This unit is defined,
  2035. % but is not yet implemented on this specific platform.
  2036. sym_w_experimental_unit=05079_W_Unit "$1" is experimental
  2037. % This means that a unit which is
  2038. % declared as \var{experimental} is used. Experimental units
  2039. % might disappear or change semantics in future versions. Usage of this unit
  2040. % should be avoided as much as possible.
  2041. sym_e_formal_class_not_resolved=05080_E_No complete definition of the formally declared class "$1" is in scope
  2042. % Objecive-C and Java classes can be imported formally, without using the the unit in which it is fully declared.
  2043. % This enables making forward references to such classes and breaking circular dependencies amongst units.
  2044. % However, as soon as you wish to actually do something with an entity of this class type (such as
  2045. % access one of its fields, send a message to it, or use it to inherit from), the compiler requires the full definition
  2046. % of the class to be in scope.
  2047. sym_e_interprocgoto_into_init_final_code_not_allowed=05081_E_Gotos into initialization or finalization blocks of units are not allowed
  2048. % Gotos into initialization or finalization blockse of units are not allowed.
  2049. sym_e_external_class_name_mismatch1=05082_E_Invalid external name "$1" for formal class "$2"
  2050. sym_e_external_class_name_mismatch2=05083_E_Complete class definition with external name "$1" here
  2051. % When a class is declared using a formal external definition, the actual external
  2052. % definition (if any) must specify the same external name as the formal definition
  2053. % (since both definitions refer to the same actual class type).
  2054. sym_w_library_overload=05084_W_Possible library conflict: symbol "$1" from library "$2" also found in library "$3"
  2055. % Some OS do not have library specific namespaces, for those
  2056. % OS, the function declared as "external 'libname' name 'funcname'",
  2057. % the 'libname' part is only a hint, funcname might also be loaded
  2058. % by another library. This warning appears if 'funcname' is used twice
  2059. % with two different library names.
  2060. sym_e_duplicate_id_create_java_constructor=05085_E_Cannot add implicit constructor 'Create' because identifier already used by "$1"
  2061. % Java does not automatically add inherited constructors to child classes, so that they can be hidden.
  2062. % However, if a class does not explicitly declare at least one constructor, the compiler is
  2063. % required to add a public, parameterless constructor. In Java, constructors are nameless,
  2064. % but in FPC they are all called ``Create''. Therefore, if you do not add a constructor to
  2065. % a Java class and furthermore use the ``Create'' identifier for another entity (e.g., a field,
  2066. % or a parameterless method), the compiler cannot satisfy this requirement.
  2067. sym_e_no_matching_inherited_parameterless_constructor=05086_E_Cannot generate default constructor for class, because parent has no parameterless constructor
  2068. % Java does not automatically add inherited constructors to child classes, so that they can be hidden.
  2069. % However, if a class does not explicitly declare at least one constructor, the compiler is
  2070. % required to add a public, parameterless constructor. This compiler must then call
  2071. % the parameterless constructor from the parent class inside this added constructor.
  2072. % This is however impossible if the parent class does not declare such a constructor.
  2073. % In this case you must add a valid constructor yourself.
  2074. % \end{description}
  2075. #
  2076. # Codegenerator
  2077. #
  2078. # 06049 is the last used one
  2079. #
  2080. % \section{Code generator messages}
  2081. % This section lists all messages that can be displayed if the code
  2082. % generator encounters an error condition.
  2083. % \begin{description}
  2084. cg_e_parasize_too_big=06009_E_Parameter list size exceeds 65535 bytes
  2085. % The I386 processor limits the parameter list to 65535 bytes. (The \var{RET}
  2086. % instruction causes this.)
  2087. cg_e_file_must_call_by_reference=06012_E_File types must be var parameters
  2088. % You cannot specify files as value parameters, i.e., they must always be
  2089. % declared \var{var} parameters.
  2090. cg_e_cant_use_far_pointer_there=06013_E_The use of a far pointer isn't allowed there
  2091. % Free Pascal doesn't support far pointers, so you cannot take the address of
  2092. % an expression which has a far reference as a result. The \var{mem} construct
  2093. % has a far reference as a result, so the following code will produce this
  2094. % error:
  2095. % \begin{verbatim}
  2096. % var p : pointer;
  2097. % ...
  2098. % p:=@mem[a000:000];
  2099. % \end{verbatim}
  2100. cg_e_dont_call_exported_direct=06015_E_EXPORT declared functions can't be called
  2101. % No longer in use.
  2102. cg_w_member_cd_call_from_method=06016_W_Possible illegal call of constructor or destructor
  2103. % The compiler detected that a constructor or destructor is called within a
  2104. % a method. This will probably lead to problems, since constructors / destructors
  2105. % require parameters on entry.
  2106. cg_n_inefficient_code=06017_N_Inefficient code
  2107. % Your statement seems dubious to the compiler.
  2108. cg_w_unreachable_code=06018_W_unreachable code
  2109. % You specified a construct which will never be executed. Example:
  2110. % \begin{verbatim}
  2111. % while false do
  2112. % begin
  2113. % {.. code ...}
  2114. % end;
  2115. % \end{verbatim}
  2116. cg_e_cant_call_abstract_method=06020_E_Abstract methods can't be called directly
  2117. % You cannot call an abstract method directly. Instead, you must call an
  2118. % overriding child method, because an abstract method isn't implemented.
  2119. cg_d_register_weight=06027_DL_Register $1 weight $2 $3
  2120. % Debugging message. Shown when the compiler considers a variable for
  2121. % keeping in the registers.
  2122. cg_d_stackframe_omited=06029_DL_Stack frame is omitted
  2123. % Some procedure/functions do not need a complete stack-frame, so it is omitted.
  2124. % This message will be displayed when the {-vd} switch is used.
  2125. cg_e_unable_inline_object_methods=06031_E_Object or class methods can't be inline.
  2126. % You cannot have inlined object methods.
  2127. cg_e_unable_inline_procvar=06032_E_Procvar calls cannot be inline.
  2128. % A procedure with a procedural variable call cannot be inlined.
  2129. cg_e_no_code_for_inline_stored=06033_E_No code for inline procedure stored
  2130. % The compiler couldn't store code for the inline procedure.
  2131. cg_e_can_access_element_zero=06035_E_Element zero of an ansi/wide- or longstring can't be accessed, use (set)length instead
  2132. % You should use \var{setlength} to set the length of an ansi/wide/longstring
  2133. % and \var{length} to get the length of such string type.
  2134. cg_e_cannot_call_cons_dest_inside_with=06037_E_Constructors or destructors cannot be called inside a 'with' clause
  2135. % Inside a \var{with} clause you cannot call a constructor or destructor for the
  2136. % object you have in the \var{with} clause.
  2137. cg_e_cannot_call_message_direct=06038_E_Cannot call message handler methods directly
  2138. % A message method handler method cannot be called directly if it contains an
  2139. % explicit \var{Self} argument.
  2140. cg_e_goto_inout_of_exception_block=06039_E_Jump in or outside of an exception block
  2141. % It is not allowed to jump in or outside of an exception block like \var{try..finally..end;}.
  2142. % For example, the following code will produce this error:
  2143. % \begin{verbatim}
  2144. % label 1;
  2145. %
  2146. % ...
  2147. %
  2148. % try
  2149. % if not(final) then
  2150. % goto 1; // this line will cause an error
  2151. % finally
  2152. % ...
  2153. % end;
  2154. % 1:
  2155. % ...
  2156. % \end{verbatim}
  2157. cg_e_control_flow_outside_finally=06040_E_Control flow statements aren't allowed in a finally block
  2158. % It isn't allowed to use the control flow statements \var{break},
  2159. % \var{continue} and \var{exit}
  2160. % inside a finally statement. The following example shows the problem:
  2161. % \begin{verbatim}
  2162. % ...
  2163. % try
  2164. % p;
  2165. % finally
  2166. % ...
  2167. % exit; // This exit ISN'T allowed
  2168. % end;
  2169. % ...
  2170. %
  2171. % \end{verbatim}
  2172. % If the procedure \var{p} raises an exception the finally block is
  2173. % executed. If the execution reaches the exit, it's unclear what to do:
  2174. % exit the procedure or search for another exception handler.
  2175. cg_w_parasize_too_big=06041_W_Parameters size exceeds limit for certain cpu's
  2176. % This indicates that you are declaring more than 64K of parameters, which
  2177. % might not be supported on other processor targets.
  2178. cg_w_localsize_too_big=06042_W_Local variable size exceed limit for certain cpu's
  2179. % This indicates that you are declaring more than 32K of local variables, which
  2180. % might not be supported on other processor targets.
  2181. cg_e_localsize_too_big=06043_E_Local variables size exceeds supported limit
  2182. % This indicates that you are declaring more than 32K of local variables, which
  2183. % is not supported by this processor.
  2184. cg_e_break_not_allowed=06044_E_BREAK not allowed
  2185. % You're trying to use \var{break} outside a loop construction.
  2186. cg_e_continue_not_allowed=06045_E_CONTINUE not allowed
  2187. % You're trying to use \var{continue} outside a loop construction.
  2188. cg_f_unknown_compilerproc=06046_F_Unknown compilerproc "$1". Check if you use the correct run time library.
  2189. % The compiler expects that the runtime library contains certain subroutines. If you see this error
  2190. % and you didn't change the runtime library code, it's very likely that the runtime library
  2191. % you're using doesn't match the compiler in use. If you changed the runtime library this error means
  2192. % that you removed a subroutine which the compiler needs for internal use.
  2193. cg_f_unknown_system_type=06047_F_Cannot find system type "$1". Check if you use the correct run time library.
  2194. % The compiler expects that the runtime library contains certain type definitions. If you see this error
  2195. % and you didn't change the runtime library code, it's very likely that the runtime library
  2196. % you're using doesn't match the compiler in use. If you changed the runtime library this error means
  2197. % that you removed a type which the compiler needs for internal use.
  2198. cg_h_inherited_ignored=06048_H_Inherited call to abstract method ignored
  2199. % This message appears only in Delphi mode when you call an abstract method
  2200. % of a parent class via \var{inherited;}. The call is then ignored.
  2201. cg_e_goto_label_not_found=06049_E_Goto label "$1" not defined or optimized away
  2202. % The label used in the goto definition is not defined or optimized away by the
  2203. % unreachable code elemination.
  2204. cg_f_unknown_type_in_unit=06050_F_Cannot find type "$1" in unit "$2". Check if you use the correct run time library.
  2205. % The compiler expects that the runtime library contains certain type definitions. If you see this error
  2206. % and you didn't change the runtime library code, it's very likely that the runtime library
  2207. % you're using doesn't match the compiler in use. If you changed the runtime library this error means
  2208. % that you removed a type which the compiler needs for internal use.
  2209. cg_e_interprocedural_goto_only_to_outer_scope_allowed=06051_E_Interprocedural gotos are allowed only to outer subroutines
  2210. % Gotos between subroutines are only allowed if the goto jumps from an inner to an outer subroutine or
  2211. % from a subroutine to the main program
  2212. cg_e_labels_cannot_defined_outside_declaration_scope=06052_E_Label must be defined in the same scope as it is declared
  2213. % In ISO mode, labels must be defined in the same scope as they are declared.
  2214. cg_e_goto_across_procedures_with_exceptions_not_allowed=06053_E_Leaving procedures containing explicit or implicit exceptions frames using goto is not allowed
  2215. % Non-local gotos might not be used to leave procedures using exceptions either implicitly or explicitly. Procedures
  2216. % which use automated types like ansistrings or class constructurs are affected by this too.
  2217. % \end{description}
  2218. # EndOfTeX
  2219. #
  2220. # Assembler reader
  2221. #
  2222. # 07110 is the last used one
  2223. #
  2224. asmr_d_start_reading=07000_DL_Starting $1 styled assembler parsing
  2225. % This informs you that an assembler block is being parsed
  2226. asmr_d_finish_reading=07001_DL_Finished $1 styled assembler parsing
  2227. % This informs you that an assembler block has finished.
  2228. asmr_e_none_label_contain_at=07002_E_Non-label pattern contains @
  2229. % A identifier which isn't a label can't contain a @.
  2230. asmr_e_building_record_offset=07004_E_Error building record offset
  2231. % There has an error occured while building the offset of a record/object
  2232. % structure, this can happend when there is no field specified at all or
  2233. % an unknown field identifier is used.
  2234. asmr_e_offset_without_identifier=07005_E_OFFSET used without identifier
  2235. % You can only use OFFSET with an identifier. Other syntaxes aren't
  2236. % supported
  2237. asmr_e_type_without_identifier=07006_E_TYPE used without identifier
  2238. % You can only use TYPE with an identifier. Other syntaxes aren't
  2239. % supported
  2240. asmr_e_no_local_or_para_allowed=07007_E_Cannot use local variable or parameters here
  2241. % You can't use a local variable or parameter here, mostly because the
  2242. % addressing of locals and parameters is done using the frame pointer register so the
  2243. % address can't be obtained directly.
  2244. asmr_e_need_offset=07008_E_need to use OFFSET here
  2245. % You need to use OFFSET <id> here to get the address of the identifier.
  2246. asmr_e_need_dollar=07009_E_need to use $ here
  2247. % You need to use $<id> here to get the address of the identifier.
  2248. asmr_e_cant_have_multiple_relocatable_symbols=07010_E_Cannot use multiple relocatable symbols
  2249. % You can't have more than one relocatable symbol (variable/typed constant)
  2250. % in one argument.
  2251. asmr_e_only_add_relocatable_symbol=07011_E_Relocatable symbol can only be added
  2252. % Relocatable symbols (variable/typed constant) can't be used with other
  2253. % operators. Only addition is allowed.
  2254. asmr_e_invalid_constant_expression=07012_E_Invalid constant expression
  2255. % There is an error in the constant expression.
  2256. asmr_e_relocatable_symbol_not_allowed=07013_E_Relocatable symbol is not allowed
  2257. % You can't use a relocatable symbol (variable/typed constant) here.
  2258. asmr_e_invalid_reference_syntax=07014_E_Invalid reference syntax
  2259. % There is an error in the reference.
  2260. asmr_e_local_para_unreachable=07015_E_You cannot reach $1 from that code
  2261. % You cannot read directly the value of a local variable or parameter
  2262. % of a higher level procedure in assembler code (except for
  2263. % local assembler code without parameter nor locals).
  2264. asmr_e_local_label_not_allowed_as_ref=07016_E_Local symbols/labels aren't allowed as references
  2265. % You can't use local symbols/labels as references
  2266. asmr_e_wrong_base_index=07017_E_Invalid base and index register usage
  2267. % There is an error with the base and index register, they are
  2268. % probably incorrect
  2269. asmr_w_possible_object_field_bug=07018_W_Possible error in object field handling
  2270. % Fields of objects or classes can be reached directly in normal or objfpc
  2271. % modes but TP and Delphi modes treat the field name as a simple offset.
  2272. asmr_e_wrong_scale_factor=07019_E_Wrong scale factor specified
  2273. % The scale factor given is wrong, only 1,2,4 and 8 are allowed
  2274. asmr_e_multiple_index=07020_E_Multiple index register usage
  2275. % You are trying to use more than one index register
  2276. asmr_e_invalid_operand_type=07021_E_Invalid operand type
  2277. % The operand type doesn't match with the opcode used
  2278. asmr_e_invalid_string_as_opcode_operand=07022_E_Invalid string as opcode operand: $1
  2279. % The string specified as operand is not correct with this opcode
  2280. asmr_w_CODE_and_DATA_not_supported=07023_W_@CODE and @DATA not supported
  2281. % @CODE and @DATA are unsupported and are ignored.
  2282. asmr_e_null_label_ref_not_allowed=07024_E_Null label references are not allowed
  2283. asmr_e_expr_zero_divide=07025_E_Divide by zero in asm evaluator
  2284. % There is a division by zero in a constant expression
  2285. asmr_e_expr_illegal=07026_E_Illegal expression
  2286. % There is an illegal expression in a constant expression
  2287. asmr_e_escape_seq_ignored=07027_E_escape sequence ignored: $1
  2288. % There is a C-styled string, but the escape sequence in the string
  2289. % is unknown, and is therefore ignored
  2290. asmr_e_invalid_symbol_ref=07028_E_Invalid symbol reference
  2291. asmr_w_fwait_emu_prob=07029_W_Fwait can cause emulation problems with emu387
  2292. asmr_w_fadd_to_faddp=07030_W_$1 without operand translated into $1P
  2293. asmr_w_enter_not_supported_by_linux=07031_W_ENTER instruction is not supported by Linux kernel
  2294. % ENTER instruction can generate a stack page fault that is not
  2295. % caught correctly by the i386 Linux page handler.
  2296. asmr_w_calling_overload_func=07032_W_Calling an overload function in assembler
  2297. % There is a call to an overloaded method in the assembler block,
  2298. % this might be the sign there is a problem
  2299. asmr_e_unsupported_symbol_type=07033_E_Unsupported symbol type for operand
  2300. asmr_e_constant_out_of_bounds=07034_E_Constant value out of bounds
  2301. asmr_e_error_converting_decimal=07035_E_Error converting decimal $1
  2302. % A constant decimal value does not have the correct syntax
  2303. asmr_e_error_converting_octal=07036_E_Error converting octal $1
  2304. % A constant octal value does not have the correct syntax
  2305. asmr_e_error_converting_binary=07037_E_Error converting binary $1
  2306. % A constant binary value does not have the correct syntax
  2307. asmr_e_error_converting_hexadecimal=07038_E_Error converting hexadecimal $1
  2308. % A constant hexadecimal value does not have the correct syntax
  2309. asmr_h_direct_global_to_mangled=07039_H_$1 translated to $2
  2310. asmr_w_direct_global_is_overloaded_func=07040_W_$1 is associated to an overloaded function
  2311. asmr_e_cannot_use_SELF_outside_a_method=07041_E_Cannot use SELF outside a method
  2312. % There is a reference to the \var{self} symbol while it is not
  2313. % allowed. \var{self} can only be referenced inside methods
  2314. asmr_e_cannot_use_OLDEBP_outside_nested_procedure=07042_E_Cannot use OLDEBP outside a nested procedure
  2315. % There is a reference to the \var{oldebp} symbol while it is not
  2316. % allowed. \var{oldebp} can only be referenced inside nested routines
  2317. asmr_e_void_function=07043_W_Procedures can't return any value in asm code
  2318. % Trying to return a value while in a procedure. A procedure
  2319. % does not have any return value
  2320. asmr_e_SEG_not_supported=07044_E_SEG not supported
  2321. asmr_e_size_suffix_and_dest_dont_match=07045_E_Size suffix and destination or source size do not match
  2322. % The register size and the opcode size suffix don't match. This is
  2323. % probably an error in the assembler statement
  2324. asmr_w_size_suffix_and_dest_dont_match=07046_W_Size suffix and destination or source size do not match
  2325. % The register size and the opcode size suffix don't match. This is
  2326. % probably an error in the assembler statement
  2327. asmr_e_syntax_error=07047_E_Assembler syntax error
  2328. % There is an assembler syntax error
  2329. asmr_e_invalid_opcode_and_operand=07048_E_Invalid combination of opcode and operands
  2330. % The opcode cannot be used with this type of operand
  2331. asmr_e_syn_operand=07049_E_Assembler syntax error in operand
  2332. asmr_e_syn_constant=07050_E_Assembler syntax error in constant
  2333. asmr_e_invalid_string_expression=07051_E_Invalid String expression
  2334. asmr_w_const32bit_for_address=07052_W_constant with symbol $1 for address which is not on a pointer
  2335. % A constant expression represents an address which does not fit
  2336. % into a pointer. The address is probably incorrect
  2337. asmr_e_unknown_opcode=07053_E_Unrecognized opcode $1
  2338. % This opcode is not known
  2339. asmr_e_invalid_or_missing_opcode=07054_E_Invalid or missing opcode
  2340. asmr_e_invalid_prefix_and_opcode=07055_E_Invalid combination of prefix and opcode: $1
  2341. asmr_e_invalid_override_and_opcode=07056_E_Invalid combination of override and opcode: $1
  2342. asmr_e_too_many_operands=07057_E_Too many operands on line
  2343. % There are too many operands for this opcode. Check your
  2344. % assembler syntax
  2345. asmr_w_near_ignored=07058_W_NEAR ignored
  2346. asmr_w_far_ignored=07059_W_FAR ignored
  2347. asmr_e_dup_local_sym=07060_E_Duplicate local symbol $1
  2348. asmr_e_unknown_local_sym=07061_E_Undefined local symbol $1
  2349. asmr_e_unknown_label_identifier=07062_E_Unknown label identifier $1
  2350. asmr_e_invalid_register=07063_E_Invalid register name
  2351. % There is an unknown register name used as operand.
  2352. asmr_e_invalid_fpu_register=07064_E_Invalid floating point register name
  2353. % There is an unknown register name used as operand.
  2354. asmr_w_modulo_not_supported=07066_W_Modulo not supported
  2355. asmr_e_invalid_float_const=07067_E_Invalid floating point constant $1
  2356. % The floating point constant declared in an assembler block is
  2357. % invalid.
  2358. asmr_e_invalid_float_expr=07068_E_Invalid floating point expression
  2359. % The floating point expression declared in an assembler block is
  2360. % invalid.
  2361. asmr_e_wrong_sym_type=07069_E_Wrong symbol type
  2362. asmr_e_cannot_index_relative_var=07070_E_Cannot index a local var or parameter with a register
  2363. % Trying to index using a base register a symbol which is already relative
  2364. % to a register. This is not possible, and will probably lead to crashes.
  2365. asmr_e_invalid_seg_override=07071_E_Invalid segment override expression
  2366. asmr_w_id_supposed_external=07072_W_Identifier $1 supposed external
  2367. % There is a reference to an undefined symbol. This will not result
  2368. % in an error, since the symbol might be external, but may cause
  2369. % problems at link time if the symbol is not defined anywhere.
  2370. asmr_e_string_not_allowed_as_const=07073_E_Strings not allowed as constants
  2371. % Character strings are not allowed as constants.
  2372. asmr_e_no_var_type_specified=07074_E_No type of variable specified
  2373. % The syntax expects a type idenfitifer after the dot, but
  2374. % none was found.
  2375. asmr_w_assembler_code_not_returned_to_text=07075_E_assembler code not returned to text section
  2376. % There was a directive in the assembler block to change sections,
  2377. % but there is a missing return to the text section at the end
  2378. % of the assembler block. This might cause errors during link time.
  2379. asmr_e_not_directive_or_local_symbol=07076_E_Not a directive or local symbol $1
  2380. % This symbol is unknown.
  2381. asmr_w_using_defined_as_local=07077_E_Using a defined name as a local label
  2382. asmr_e_dollar_without_identifier=07078_E_Dollar token is used without an identifier
  2383. % A constant expression has an identifier which does not start with
  2384. % the $ symbol.
  2385. asmr_w_32bit_const_for_address=07079_W_32bit constant created for address
  2386. % A constant was used as an address. This is probably an error,
  2387. % since using absolute addresses will probably not work.
  2388. asmr_n_align_is_target_specific=07080_N_.align is target specific, use .balign or .p2align
  2389. % Using the .align directive is platform specific, and its meaning will vary
  2390. % from one platform to another.
  2391. asmr_e_cannot_access_field_directly_for_parameters=07081_E_Can't access fields directly for parameters
  2392. % You should load the parameter first into a register and then access the
  2393. % fields using that register.
  2394. asmr_e_cannot_access_object_field_directly=07082_E_Can't access fields of objects/classes directly
  2395. % You should load the self pointer first into a register and then access the
  2396. % fields using the register as base. By default the self pointer is available
  2397. % in the esi register on i386.
  2398. asmr_e_unable_to_determine_reference_size=07083_E_No size specified and unable to determine the size of the operands
  2399. % You should specify explicitly a size for the reference, because
  2400. % the compiler is unable to determine what size (byte,word,dword,etc.) it
  2401. % should use for the reference.
  2402. asmr_e_cannot_use_RESULT_here=07084_E_Cannot use RESULT in this function
  2403. % Some functions which return complex types cannot use the \var{result}
  2404. % keyword.
  2405. asmr_w_adding_explicit_args_fXX=07086_W_"$1" without operand translated into "$1 %st,%st(1)"
  2406. asmr_w_adding_explicit_first_arg_fXX=07087_W_"$1 %st(n)" translated into "$1 %st,%st(n)"
  2407. asmr_w_adding_explicit_second_arg_fXX=07088_W_"$1 %st(n)" translated into "$1 %st(n),%st"
  2408. asmr_e_invalid_char_smaller=07089_E_Char < not allowed here
  2409. % The shift operator requires the << characters. Only one
  2410. % of those characters was found.
  2411. asmr_e_invalid_char_greater=07090_E_Char > not allowed here
  2412. % The shift operator requires the >> characters. Only one
  2413. % of those characters was found.
  2414. asmr_w_align_not_supported=07093_W_ALIGN not supported
  2415. asmr_e_no_inc_and_dec_together=07094_E_Inc and Dec cannot be together
  2416. % Trying to use an increment and a decrement within the same
  2417. % opcode on the 680x0. This is impossible.
  2418. asmr_e_invalid_reg_list_in_movem=07095_E_Invalid reglist for movem
  2419. % Trying to use the \var{movem} opcode with invalid registers
  2420. % to save or restore.
  2421. asmr_e_invalid_reg_list_for_opcode=07096_E_Reglist invalid for opcode
  2422. asmr_e_higher_cpu_mode_required=07097_E_Higher cpu mode required ($1)
  2423. % Trying to use an instruction which is not supported in the current
  2424. % cpu mode. Use a higher cpu generation to be able to use this
  2425. % opcode in your assembler block
  2426. asmr_w_unable_to_determine_reference_size_using_dword=07098_W_No size specified and unable to determine the size of the operands, using DWORD as default
  2427. % You should specify explicitly a size for the reference, because
  2428. % the compiler is unable to determine what size (byte,word,dword,etc.) it
  2429. % should use for the reference. This warning is only used in Delphi mode where
  2430. % it falls back to use DWORD as default.
  2431. asmr_e_illegal_shifterop_syntax=07099_E_Syntax error while trying to parse a shifter operand
  2432. % ARM only; ARM assembler supports a so called shifter operand. The used syntax isn't
  2433. % a valid shifter operand. Example for an operation with shifter operand:
  2434. % \begin{verbatim}
  2435. % asm
  2436. % orr r2,r2,r2,lsl #8
  2437. % end;
  2438. % \end{verbatim}
  2439. asmr_e_packed_element=07100_E_Address of packed component is not at a byte boundary
  2440. % Packed components (record fields and array elements) may start at an arbitrary
  2441. % bit inside a byte. On CPU which do not support bit-addressable memory (which
  2442. % includes all currently supported CPUs by FPC) you will therefore get an error
  2443. % message when trying to index arrays with elements whose size is not a multiple
  2444. % of 8 bits. The same goes for accessing record fields with such an address.
  2445. % multiple of 8 bits.
  2446. asmr_w_unable_to_determine_reference_size_using_byte=07101_W_No size specified and unable to determine the size of the operands, using BYTE as default
  2447. % You should specify explicitly a size for the reference, because
  2448. % the compiler is unable to determine what size (byte,word,dword,etc.) it
  2449. % should use for the reference. This warning is only used in Delphi mode where
  2450. % it falls back to use BYTE as default.
  2451. asmr_w_no_direct_ebp_for_parameter=07102_W_Use of +offset(%ebp) for parameters invalid here
  2452. % Using direct 8(%ebp) reference for function/procedure parameters is invalid
  2453. % if parameters are in registers.
  2454. asmr_w_direct_ebp_for_parameter_regcall=07103_W_Use of +offset(%ebp) is not compatible with regcall convention
  2455. % Using direct 8(%ebp) reference for function/procedure parameters is invalid
  2456. % if parameters are in registers.
  2457. asmr_w_direct_ebp_neg_offset=07104_W_Use of -offset(%ebp) is not recommended for local variable access
  2458. % Using -8(%ebp) to access a local variable is not recommended
  2459. asmr_w_direct_esp_neg_offset=07105_W_Use of -offset(%esp), access may cause a crash or value may be lost
  2460. % Using -8(%esp) to access a local stack is not recommended, as
  2461. % this stack portion can be overwritten by any function calls or interrupts.
  2462. asmr_e_no_vmtoffset_possible=07106_E_VMTOffset must be used in combination with a virtual method, and "$1" is not virtual
  2463. % Only virtual methods have VMT offsets
  2464. asmr_e_need_pic_ref=07107_E_Generating PIC, but reference is not PIC-safe
  2465. % The compiler has been configured to generate position-independent code
  2466. % (PIC), but there are position-dependent references in the current
  2467. % handwritten assembler instruction.
  2468. asmr_e_mixing_regtypes=07108_E_All registers in a register set must be of the same kind and width
  2469. % Instructions on the ARM architecture that take a register set as argument require that all registers
  2470. % in this set are of the same kind (e.g., integer, vfp) and width (e.g., single precision, double precision).
  2471. asmr_e_empty_regset=07109_E_A register set cannot be empty
  2472. % Instructions on the ARM architecture that take a register set as argument require that such a set
  2473. % contains at least one register.
  2474. asmr_w_useless_got_for_local=07110_W_@GOTPCREL is useless and potentially dangereous for local symbols
  2475. % The use of @GOTPCREL supposes an extra indirection that is
  2476. % not present if the symbol is local, which might lead to wrong asembler code
  2477. #
  2478. # Assembler/binary writers
  2479. #
  2480. # 08022 is the last used one
  2481. #
  2482. asmw_f_too_many_asm_files=08000_F_Too many assembler files
  2483. % With smartlinking enabled, there are too many assembler
  2484. % files generated. Disable smartlinking.
  2485. asmw_f_assembler_output_not_supported=08001_F_Selected assembler output not supported
  2486. asmw_f_comp_not_supported=08002_F_Comp not supported
  2487. asmw_f_direct_not_supported=08003_F_Direct not support for binary writers
  2488. % Direct assembler mode is not supported for binary writers.
  2489. asmw_e_alloc_data_only_in_bss=08004_E_Allocating of data is only allowed in bss section
  2490. asmw_f_no_binary_writer_selected=08005_F_No binary writer selected
  2491. asmw_e_opcode_not_in_table=08006_E_Asm: Opcode $1 not in table
  2492. asmw_e_invalid_opcode_and_operands=08007_E_Asm: $1 invalid combination of opcode and operands
  2493. asmw_e_16bit_not_supported=08008_E_Asm: 16 Bit references not supported
  2494. asmw_e_invalid_effective_address=08009_E_Asm: Invalid effective address
  2495. asmw_e_immediate_or_reference_expected=08010_E_Asm: Immediate or reference expected
  2496. asmw_e_value_exceeds_bounds=08011_E_Asm: $1 value exceeds bounds $2
  2497. asmw_e_short_jmp_out_of_range=08012_E_Asm: Short jump is out of range $1
  2498. asmw_e_undefined_label=08013_E_Asm: Undefined label $1
  2499. asmw_e_comp_not_supported=08014_E_Asm: Comp type not supported for this target
  2500. asmw_e_extended_not_supported=08015_E_Asm: Extended type not supported for this target
  2501. asmw_e_duplicate_label=08016_E_Asm: Duplicate label $1
  2502. asmw_e_redefined_label=08017_E_Asm: Redefined label $1
  2503. asmw_e_first_defined_label=08018_E_Asm: First defined here
  2504. asmw_e_invalid_register=08019_E_Asm: Invalid register $1
  2505. asmw_e_16bit_32bit_not_supported=08020_E_Asm: 16 or 32 Bit references not supported
  2506. asmw_e_64bit_not_supported=08021_E_Asm: 64 Bit operands not supported
  2507. asmw_e_bad_reg_with_rex=08022_E_Asm: AH,BH,CH or DH cannot be used in an instruction requiring REX prefix
  2508. % x86_64 only: instruction encoding of this platform does not allow using
  2509. % 8086 high byte registers (AH,BH,CH or DH) together with REX prefix in a single instruction.
  2510. % The REX prefix is required whenever the instruction operand size is 64 bits, or
  2511. % when it uses one of extended x86_64 registers (R8-R15 or XMM8-XMM15).
  2512. #
  2513. # Executing linker/assembler
  2514. #
  2515. # 09032 is the last used one
  2516. #
  2517. # BeginOfTeX
  2518. %
  2519. % \section{Errors of assembling/linking stage}
  2520. % This section lists errors that occur when the compiler is processing the
  2521. % command line or handling the configuration files.
  2522. % \begin{description}
  2523. exec_w_source_os_redefined=09000_W_Source operating system redefined
  2524. % The source operating system is redefined.
  2525. exec_i_assembling_pipe=09001_I_Assembling (pipe) $1
  2526. % Assembling using a pipe to an external assembler.
  2527. exec_d_cant_create_asmfile=09002_E_Can't create assembler file: $1
  2528. % The mentioned file can't be created. Check if you have
  2529. % access permissions to create this file.
  2530. exec_e_cant_create_objectfile=09003_E_Can't create object file: $1
  2531. % The mentioned file can't be created. Check if you have
  2532. % got access permissions to create this file.
  2533. exec_e_cant_create_archivefile=09004_E_Can't create archive file: $1
  2534. % The mentioned file can't be created. Check if you have
  2535. % access permissions to create this file.
  2536. exec_e_assembler_not_found=09005_E_Assembler $1 not found, switching to external assembling
  2537. % The assembler program was not found. The compiler will produce a script that
  2538. % can be used to assemble and link the program.
  2539. exec_t_using_assembler=09006_T_Using assembler: $1
  2540. % An informational message saying which assembler is being used.
  2541. exec_e_error_while_assembling=09007_E_Error while assembling exitcode $1
  2542. % There was an error while assembling the file using an external assembler.
  2543. % Consult the documentation of the assembler tool to find out more information
  2544. % on this error.
  2545. exec_e_cant_call_assembler=09008_E_Can't call the assembler, error $1 switching to external assembling
  2546. % An error occurred when calling an external assembler. The compiler will produce a script that
  2547. % can be used to assemble and link the program.
  2548. exec_i_assembling=09009_I_Assembling $1
  2549. % An informational message stating which file is being assembled.
  2550. exec_i_assembling_smart=09010_I_Assembling with smartlinking $1
  2551. % An informational message stating which file is being assembled using smartlinking.
  2552. exec_w_objfile_not_found=09011_W_Object $1 not found, Linking may fail !
  2553. % One of the object files is missing, and linking will probably fail.
  2554. % Check your paths.
  2555. exec_w_libfile_not_found=09012_W_Library $1 not found, Linking may fail !
  2556. % One of the library files is missing, and linking will probably fail.
  2557. % Check your paths.
  2558. exec_e_error_while_linking=09013_E_Error while linking
  2559. % Generic error while linking.
  2560. exec_e_cant_call_linker=09014_E_Can't call the linker, switching to external linking
  2561. % An error occurred when calling an external linker. The compiler will produce a script that
  2562. % can be used to assemble and link the program.
  2563. exec_i_linking=09015_I_Linking $1
  2564. % An informational message, showing which program or library is being linked.
  2565. exec_e_util_not_found=09016_E_Util $1 not found, switching to external linking
  2566. % An external tool was not found. The compiler will produce a script that
  2567. % can be used to assemble and link or postprocess the program.
  2568. exec_t_using_util=09017_T_Using util $1
  2569. % An informational message, showing which external program (usually a postprocessor) is being used.
  2570. exec_e_exe_not_supported=09018_E_Creation of Executables not supported
  2571. % Creating executable programs is not supported for this platform, because it was
  2572. % not yet implemented in the compiler.
  2573. exec_e_dll_not_supported=09019_E_Creation of Dynamic/Shared Libraries not supported
  2574. % Creating dynamically loadable libraries is not supported for this platform, because it was
  2575. % not yet implemented in the compiler.
  2576. exec_i_closing_script=09020_I_Closing script $1
  2577. % Informational message showing when writing of the external assembling and linking script is finished.
  2578. exec_e_res_not_found=09021_E_resource compiler "$1" not found, switching to external mode
  2579. % An external resource compiler was not found. The compiler will produce a script that
  2580. % can be used to assemble, compile resources and link or postprocess the program.
  2581. exec_i_compilingresource=09022_I_Compiling resource $1
  2582. % An informational message, showing which resource is being compiled.
  2583. exec_t_unit_not_static_linkable_switch_to_smart=09023_T_unit $1 can't be statically linked, switching to smart linking
  2584. % Static linking was requested, but a unit which is not statically linkable was used.
  2585. exec_t_unit_not_smart_linkable_switch_to_static=09024_T_unit $1 can't be smart linked, switching to static linking
  2586. % Smart linking was requested, but a unit which is not smart-linkable was used.
  2587. exec_t_unit_not_shared_linkable_switch_to_static=09025_T_unit $1 can't be shared linked, switching to static linking
  2588. % Shared linking was requested, but a unit which is not shared-linkable was used.
  2589. exec_e_unit_not_smart_or_static_linkable=09026_E_unit $1 can't be smart or static linked
  2590. % Smart or static linking was requested, but a unit which cannot be used for either was used.
  2591. exec_e_unit_not_shared_or_static_linkable=09027_E_unit $1 can't be shared or static linked
  2592. % Shared or static linking was requested, but a unit which cannot be used for either was used.
  2593. exec_d_resbin_params=09028_D_Calling resource compiler "$1" with "$2" as command line
  2594. % An informational message showing which command line is used for the resource compiler.
  2595. exec_e_error_while_compiling_resources=09029_E_Error while compiling resources
  2596. % The resource compiler or converter returned an error.
  2597. exec_e_cant_call_resource_compiler=09030_E_Can't call the resource compiler "$1", switching to external mode
  2598. % An error occurred when calling a resource compiler. The compiler will produce
  2599. % a script that can be used to assemble, compile resources and link or
  2600. % postprocess the program.
  2601. exec_e_cant_open_resource_file=09031_E_Can't open resource file "$1"
  2602. % An error occurred resource file cannot be opened.
  2603. exec_e_cant_write_resource_file=09032_E_Can't write resource file "$1"
  2604. % An error occurred resource file cannot be written.
  2605. %\end{description}
  2606. # EndOfTeX
  2607. #
  2608. # Executable information
  2609. #
  2610. # 09134 is the last used one
  2611. #
  2612. # BeginOfTeX
  2613. % \section{Executable information messages.}
  2614. % This section lists all messages that the compiler emits when an executable program is produced,
  2615. % and only when the internal linker is used.
  2616. % \begin{description}
  2617. execinfo_f_cant_process_executable=09128_F_Can't post process executable $1
  2618. % Fatal error when the compiler is unable to post-process an executable.
  2619. execinfo_f_cant_open_executable=09129_F_Can't open executable $1
  2620. % Fatal error when the compiler cannot open the file for the executable.
  2621. execinfo_x_codesize=09130_X_Size of Code: $1 bytes
  2622. % Informational message showing the size of the produced code section.
  2623. execinfo_x_initdatasize=09131_X_Size of initialized data: $1 bytes
  2624. % Informational message showing the size of the initialized data section.
  2625. execinfo_x_uninitdatasize=09132_X_Size of uninitialized data: $1 bytes
  2626. % Informational message showing the size of the uninitialized data section.
  2627. execinfo_x_stackreserve=09133_X_Stack space reserved: $1 bytes
  2628. % Informational message showing the stack size that the compiler reserved for the executable.
  2629. execinfo_x_stackcommit=09134_X_Stack space committed: $1 bytes
  2630. % Informational message showing the stack size that the compiler committed for the executable.
  2631. %\end{description}
  2632. # EndOfTeX
  2633. #
  2634. # Internal linker messages
  2635. #
  2636. # 09200 is the last used one
  2637. #
  2638. # BeginOfTeX
  2639. % \section{Linker messages}
  2640. % This section lists messages produced by internal linker.
  2641. % \begin{description}
  2642. link_f_executable_too_big=09200_F_Executable image size is too big for $1 target.
  2643. % Fatal error when resulting executable is too big.
  2644. link_w_32bit_absolute_reloc=09201_W_Object file "$1" contains 32-bit absolute relocation to symbol "$2".
  2645. % Warning when 64-bit object file contains 32-bit absolute relocations.
  2646. % In such case an executable image can be loaded into lower 4Gb of
  2647. % address space only.
  2648. %\end{description}
  2649. # EndOfTeX
  2650. #
  2651. # Unit loading
  2652. #
  2653. # 10062 is the last used one
  2654. #
  2655. # BeginOfTeX
  2656. % \section{Unit loading messages.}
  2657. % This section lists all messages that can occur when the compiler is
  2658. % loading a unit from disk into memory. Many of these messages are
  2659. % informational messages.
  2660. % \begin{description}
  2661. unit_t_unitsearch=10000_T_Unitsearch: $1
  2662. % When you use the \var{-vt} option, the compiler tells you where it tries to find
  2663. % unit files.
  2664. unit_t_ppu_loading=10001_T_PPU Loading $1
  2665. % When the \var{-vt} switch is used, the compiler tells you
  2666. % what units it loads.
  2667. unit_u_ppu_name=10002_U_PPU Name: $1
  2668. % When you use the \var{-vu} flag, the unit name is shown.
  2669. unit_u_ppu_flags=10003_U_PPU Flags: $1
  2670. % When you use the \var{-vu} flag, the unit flags are shown.
  2671. unit_u_ppu_crc=10004_U_PPU Crc: $1
  2672. % When you use the \var{-vu} flag, the unit CRC check is shown.
  2673. unit_u_ppu_time=10005_U_PPU Time: $1
  2674. % When you use the \var{-vu} flag, the time the unit was compiled is shown.
  2675. unit_u_ppu_file_too_short=10006_U_PPU File too short
  2676. % The ppufile is too short, not all declarations are present.
  2677. unit_u_ppu_invalid_header=10007_U_PPU Invalid Header (no PPU at the begin)
  2678. % A unit file contains as the first three bytes the ASCII codes of the characters \var{PPU}.
  2679. unit_u_ppu_invalid_version=10008_U_PPU Invalid Version $1
  2680. % This unit file was compiled with a different version of the compiler, and
  2681. % cannot be read.
  2682. unit_u_ppu_invalid_processor=10009_U_PPU is compiled for another processor
  2683. % This unit file was compiled for a different processor type, and
  2684. % cannot be read.
  2685. unit_u_ppu_invalid_target=10010_U_PPU is compiled for another target
  2686. % This unit file was compiled for a different target, and
  2687. % cannot be read.
  2688. unit_u_ppu_source=10011_U_PPU Source: $1
  2689. % When you use the \var{-vu} flag, the unit source file name is shown.
  2690. unit_u_ppu_write=10012_U_Writing $1
  2691. % When you specify the \var{-vu} switch, the compiler will tell you where it
  2692. % writes the unit file.
  2693. unit_f_ppu_cannot_write=10013_F_Can't Write PPU-File
  2694. % An error occurred when writing the unit file.
  2695. unit_f_ppu_read_error=10014_F_Error reading PPU-File
  2696. % This means that the unit file was corrupted, and contains invalid
  2697. % information. Recompilation will be necessary.
  2698. unit_f_ppu_read_unexpected_end=10015_F_unexpected end of PPU-File
  2699. % Unexpected end of file. This may mean that the PPU file is
  2700. % corrupted.
  2701. unit_f_ppu_invalid_entry=10016_F_Invalid PPU-File entry: $1
  2702. % The unit the compiler is trying to read is corrupted, or generated with a
  2703. % newer version of the compiler.
  2704. unit_f_ppu_dbx_count_problem=10017_F_PPU Dbx count problem
  2705. % There is an inconsistency in the debugging information of the unit.
  2706. unit_e_illegal_unit_name=10018_E_Illegal unit name: $1
  2707. % The name of the unit does not match the file name.
  2708. unit_f_too_much_units=10019_F_Too much units
  2709. % \fpc has a limit of 1024 units in a program. You can change this behavior
  2710. % by changing the \var{maxunits} constant in the \file{fmodule.pas} file of the
  2711. % compiler, and recompiling the compiler.
  2712. unit_f_circular_unit_reference=10020_F_Circular unit reference between $1 and $2
  2713. % Two units are using each other in the interface part. This is only allowed
  2714. % in the \var{implementation} part. At least one unit must contain the other one
  2715. % in the \var{implementation} section.
  2716. unit_f_cant_compile_unit=10021_F_Can't compile unit $1, no sources available
  2717. % A unit was found that needs to be recompiled, but no sources are
  2718. % available.
  2719. unit_f_cant_find_ppu=10022_F_Can't find unit $1 used by $2
  2720. % You tried to use a unit of which the PPU file isn't found by the
  2721. % compiler. Check your configuration file for the unit paths.
  2722. unit_w_unit_name_error=10023_W_Unit $1 was not found but $2 exists
  2723. % This error message is no longer used.
  2724. unit_f_unit_name_error=10024_F_Unit $1 searched but $2 found
  2725. % \dos truncation of 8 letters for unit PPU files
  2726. % may lead to problems when unit name is longer than 8 letters.
  2727. unit_w_switch_us_missed=10025_W_Compiling the system unit requires the -Us switch
  2728. % When recompiling the system unit (it needs special treatment), the
  2729. % \var{-Us} switch must be specified.
  2730. unit_f_errors_in_unit=10026_F_There were $1 errors compiling module, stopping
  2731. % When the compiler encounters a fatal error or too many errors in a module
  2732. % then it stops with this message.
  2733. unit_u_load_unit=10027_U_Load from $1 ($2) unit $3
  2734. % When you use the \var{-vu} flag, which unit is loaded from which unit is
  2735. % shown.
  2736. unit_u_recompile_crc_change=10028_U_Recompiling $1, checksum changed for $2
  2737. % The unit is recompiled because the checksum of a unit it depends on has
  2738. % changed.
  2739. unit_u_recompile_source_found_alone=10029_U_Recompiling $1, source found only
  2740. % When you use the \var{-vu} flag, these messages tell you why the current
  2741. % unit is recompiled.
  2742. unit_u_recompile_staticlib_is_older=10030_U_Recompiling unit, static lib is older than ppufile
  2743. % When you use the \var{-vu} flag, the compiler warns if the static library
  2744. % of the unit is older than the unit file itself.
  2745. unit_u_recompile_sharedlib_is_older=10031_U_Recompiling unit, shared lib is older than ppufile
  2746. % When you use the \var{-vu} flag, the compiler warns if the shared library
  2747. % of the unit is older than the unit file itself.
  2748. unit_u_recompile_obj_and_asm_older=10032_U_Recompiling unit, obj and asm are older than ppufile
  2749. % When you use the \var{-vu} flag, the compiler warns if the assembler or
  2750. % object file of the unit is older than the unit file itself.
  2751. unit_u_recompile_obj_older_than_asm=10033_U_Recompiling unit, obj is older than asm
  2752. % When you use the \var{-vu} flag, the compiler warns if the assembler
  2753. % file of the unit is older than the object file of the unit.
  2754. unit_u_parsing_interface=10034_U_Parsing interface of $1
  2755. % When you use the \var{-vu} flag, the compiler warns that it starts
  2756. % parsing the interface part of the unit.
  2757. unit_u_parsing_implementation=10035_U_Parsing implementation of $1
  2758. % When you use the \var{-vu} flag, the compiler warns that it starts
  2759. % parsing the implementation part of the unit.
  2760. unit_u_second_load_unit=10036_U_Second load for unit $1
  2761. % When you use the \var{-vu} flag, the compiler warns that it starts
  2762. % recompiling a unit for the second time. This can happen with
  2763. % interdependent units.
  2764. unit_u_check_time=10037_U_PPU Check file $1 time $2
  2765. % When you use the \var{-vu} flag, the compiler shows the filename and
  2766. % date and time of the file on which a recompile depends.
  2767. ### The following two error msgs is currently disabled.
  2768. #unit_h_cond_not_set_in_last_compile=10038_H_Conditional $1 was not set at startup in last compilation of $2
  2769. #% when recompilation of an unit is required the compiler will check that
  2770. #% the same conditionals are set for the recompiliation. The compiler has
  2771. #% found a conditional that currently is defined, but was not used the last
  2772. #% time the unit was compiled.
  2773. #unit_h_cond_set_in_last_compile=10039_H_Conditional $1 was set at startup in last compilation of $2
  2774. #% when recompilation of an unit is required the compiler will check that
  2775. #% the same conditionals are set for the recompiliation. The compiler has
  2776. #% found a conditional that was used the last time the unit was compiled, but
  2777. #% the conditional is currently not defined.
  2778. unit_w_cant_compile_unit_with_changed_incfile=10040_W_Can't recompile unit $1, but found modifed include files
  2779. % A unit was found to have modified include files, but
  2780. % some source files were not found, so recompilation is impossible.
  2781. unit_u_source_modified=10041_U_File $1 is newer than the one used for creating PPU file $2
  2782. % A modified source file for a compiler unit was found.
  2783. unit_u_ppu_invalid_fpumode=10042_U_Trying to use a unit which was compiled with a different FPU mode
  2784. % Trying to compile code while using units which were not compiled with
  2785. % the same floating point format mode. Either all code should be compiled
  2786. % with FPU emulation on, or with FPU emulation off.
  2787. unit_u_loading_interface_units=10043_U_Loading interface units from $1
  2788. % When you use the \var{-vu} flag, the compiler warns that it is starting
  2789. % to load the units defined in the interface part of the unit.
  2790. unit_u_loading_implementation_units=10044_U_Loading implementation units from $1
  2791. % When you use the \var{-vu} flag, the compiler warns that it is starting
  2792. % to load the units defined in the implementation part of the unit.
  2793. unit_u_interface_crc_changed=10045_U_Interface CRC changed for unit $1
  2794. % When you use the \var{-vu} flag, the compiler warns that the
  2795. % CRC calculated for the interface has been changed after the implementation
  2796. % has been parsed.
  2797. unit_u_implementation_crc_changed=10046_U_Implementation CRC changed for unit $1
  2798. % When you use the \var{-vu} flag, the compiler warns that the
  2799. % CRC calculated has been changed after the implementation
  2800. % has been parsed.
  2801. unit_u_finished_compiling=10047_U_Finished compiling unit $1
  2802. % When you use the \var{-vu} flag, the compiler warns that it
  2803. % has finished compiling the unit.
  2804. unit_u_add_depend_to=10048_U_Adding dependency: $1 depends on $2
  2805. % When you use the \var{-vu} flag, the compiler warns that it
  2806. % has added a dependency between the two units.
  2807. unit_u_no_reload_is_caller=10049_U_No reload, is caller: $1
  2808. % When you use the \var{-vu} flag, the compiler warns that it
  2809. % will not reload the unit because it is the unit that wants
  2810. % to load this unit.
  2811. unit_u_no_reload_in_second_compile=10050_U_No reload, already in second compile: $1
  2812. % When you use the \var{-vu} flag, the compiler warns that it
  2813. % will not reload the unit because it is already in a second recompile.
  2814. unit_u_flag_for_reload=10051_U_Flag for reload: $1
  2815. % When you use the \var{-vu} flag, the compiler warns that it
  2816. % has to reload the unit.
  2817. unit_u_forced_reload=10052_U_Forced reloading
  2818. % When you use the \var{-vu} flag, the compiler warns that it
  2819. % is reloading the unit because it was required.
  2820. unit_u_previous_state=10053_U_Previous state of $1: $2
  2821. % When you use the \var{-vu} flag, the compiler shows the
  2822. % previous state of the unit.
  2823. unit_u_second_compile_unit=10054_U_Already compiling $1, setting second compile
  2824. % When you use the \var{-vu} flag, the compiler warns that it is starting
  2825. % to recompile a unit for the second time. This can happen with interdependent
  2826. % units.
  2827. unit_u_loading_unit=10055_U_Loading unit $1
  2828. % When you use the \var{-vu} flag, the compiler warns that it starts
  2829. % loading the unit.
  2830. unit_u_finished_loading_unit=10056_U_Finished loading unit $1
  2831. % When you use the \var{-vu} flag, the compiler warns that it finished
  2832. % loading the unit.
  2833. unit_u_registering_new_unit=10057_U_Registering new unit $1
  2834. % When you use the \var{-vu} flag, the compiler warns that it has
  2835. % found a new unit and is registering it in the internal lists.
  2836. unit_u_reresolving_unit=10058_U_Re-resolving unit $1
  2837. % When you use the \var{-vu} flag, the compiler warns that it
  2838. % has to recalculate the internal data of the unit.
  2839. unit_u_skipping_reresolving_unit=10059_U_Skipping re-resolving unit $1, still loading used units
  2840. % When you use the \var{-vu} flag, the compiler warns that it is
  2841. % skipping the recalculation of the internal data of the unit
  2842. % because there is no data to recalculate.
  2843. unit_u_unload_resunit=10060_U_Unloading resource unit $1 (not needed)
  2844. % When you use the \var{-vu} flag, the compiler warns that it is unloading the
  2845. % resource handling unit, since no resources are used.
  2846. unit_e_different_wpo_file=10061_E_Unit $1 was compiled using a different whole program optimization feedback input ($2, $3); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
  2847. % When a unit has been compiled using a particular whole program optimization (wpo) feedback file (\var{-FW<x>} \var{-OW<x>}),
  2848. % this compiled version of the unit is specialised for that particular compilation scenario and cannot be used in
  2849. % any other context. It has to be recompiled before you can use it in another program or with another wpo feedback input file.
  2850. unit_u_indirect_crc_changed=10062_U_Indirect interface (objects/classes) CRC changed for unit $1
  2851. % When you use the \var{-vu} flag, the compiler warns that the
  2852. % indirect CRC calculated for the unit (this is the CRC of all classes/objects/interfaces/$\ldots$
  2853. % in the interfaces of units directly or indirectly used by this unit in the interface) has been changed after the
  2854. % implementation has been parsed.
  2855. % \end{description}
  2856. # EndOfTeX
  2857. #
  2858. # Options
  2859. #
  2860. # 11048 is the last used one
  2861. #
  2862. option_usage=11000_O_$1 [options] <inputfile> [options]
  2863. # BeginOfTeX
  2864. %
  2865. % \section{Command line handling errors}
  2866. % This section lists errors that occur when the compiler is processing the
  2867. % command line or handling the configuration files.
  2868. % \begin{description}
  2869. option_only_one_source_support=11001_W_Only one source file supported, changing source file to compile from "$1" into "$2"
  2870. % You can specify only one source file on the command line. The last
  2871. % one will be compiled, others will be ignored. This may indicate that
  2872. % you forgot a \var{'-'} sign.
  2873. option_def_only_for_os2=11002_W_DEF file can be created only for OS/2
  2874. % This option can only be specified when you're compiling for OS/2.
  2875. option_no_nested_response_file=11003_E_nested response files are not supported
  2876. % You cannot nest response files with the \var{@file} command line option.
  2877. option_no_source_found=11004_F_No source file name in command line
  2878. % The compiler expects a source file name on the command line.
  2879. option_no_option_found=11005_N_No option inside $1 config file
  2880. % The compiler didn't find any option in that config file.
  2881. option_illegal_para=11006_E_Illegal parameter: $1
  2882. % You specified an unknown option.
  2883. option_help_pages_para=11007_H_-? writes help pages
  2884. % When an unknown option is given, this message is diplayed.
  2885. option_too_many_cfg_files=11008_F_Too many config files nested
  2886. % You can only nest up to 16 config files.
  2887. option_unable_open_file=11009_F_Unable to open file $1
  2888. % The option file cannot be found.
  2889. option_reading_further_from=11010_D_Reading further options from $1
  2890. % Displayed when you have notes turned on, and the compiler switches
  2891. % to another options file.
  2892. option_target_is_already_set=11011_W_Target is already set to: $1
  2893. % Displayed if more than one \var{-T} option is specified.
  2894. option_no_shared_lib_under_dos=11012_W_Shared libs not supported on DOS platform, reverting to static
  2895. % If you specify \var{-CD} for the \dos platform, this message is displayed.
  2896. % The compiler supports only static libraries under \dos.
  2897. option_too_many_ifdef=11013_F_In options file $1 at line $2 too many \var{\#IF(N)DEFs} encountered
  2898. % The \var{\#IF(N)DEF} statements in the options file are not balanced with
  2899. % the \var{\#ENDIF} statements.
  2900. option_too_many_endif=11014_F_In options file $1 at line $2 unexpected \var{\#ENDIFs} encountered
  2901. % The \var{\#IF(N)DEF} statements in the options file are not balanced with
  2902. % the \var{\#ENDIF} statements.
  2903. option_too_less_endif=11015_F_Open conditional at the end of the options file
  2904. % The \var{\#IF(N)DEF} statements in the options file are not balanced with
  2905. % the \var{\#ENDIF} statements.
  2906. option_no_debug_support=11016_W_Debug information generation is not supported by this executable
  2907. % It is possible to have a compiler executable that doesn't support
  2908. % the generation of debugging info. If you use such an executable with the
  2909. % \var{-g} switch, this warning will be displayed.
  2910. option_no_debug_support_recompile_fpc=11017_H_Try recompiling with -dGDB
  2911. % It is possible to have a compiler executable that doesn't support
  2912. % the generation of debugging info. If you use such an executable with the
  2913. % \var{-g} switch, this warning will be displayed.
  2914. option_obsolete_switch=11018_W_You are using the obsolete switch $1
  2915. % This warns you when you use a switch that is not needed/supported anymore.
  2916. % It is recommended that you remove the switch to overcome problems in the
  2917. % future, when the meaning of the switch may change.
  2918. option_obsolete_switch_use_new=11019_W_You are using the obsolete switch $1, please use $2
  2919. % This warns you when you use a switch that is not supported anymore. You
  2920. % must now use the second switch instead.
  2921. % It is recommended that you change the switch to overcome problems in the
  2922. % future, when the meaning of the switch may change.
  2923. option_switch_bin_to_src_assembler=11020_N_Switching assembler to default source writing assembler
  2924. % This notifies you that the assembler has been changed because you used the
  2925. % -a switch, which can't be used with a binary assembler writer.
  2926. option_incompatible_asm=11021_W_Assembler output selected "$1" is not compatible with "$2"
  2927. option_asm_forced=11022_W_"$1" assembler use forced
  2928. % The assembler output selected cannot generate
  2929. % object files with the correct format. Therefore, the
  2930. % default assembler for this target is used instead.
  2931. option_using_file=11026_T_Reading options from file $1
  2932. % Options are also read from this file.
  2933. option_using_env=11027_T_Reading options from environment $1
  2934. % Options are also read from this environment string.
  2935. option_handling_option=11028_D_Handling option "$1"
  2936. % Debug info that an option is found and will be handled.
  2937. option_help_press_enter=11029_O_*** press enter ***
  2938. % Message shown when help is shown page per page. When pressing the ENTER
  2939. % Key, the next page of help is shown. If you press q and then ENTER, the
  2940. % compiler exits.
  2941. option_start_reading_configfile=11030_H_Start of reading config file $1
  2942. % Start of configuration file parsing.
  2943. option_end_reading_configfile=11031_H_End of reading config file $1
  2944. % End of configuration file parsing.
  2945. option_interpreting_option=11032_D_interpreting option "$1"
  2946. % The compiler is interpreting an option
  2947. option_interpreting_firstpass_option=11036_D_interpreting firstpass option "$1"
  2948. % The compiler is interpreting an option for the first time.
  2949. option_interpreting_file_option=11033_D_interpreting file option "$1"
  2950. % The compiler is interpreting an option which it read from the configuration file.
  2951. option_read_config_file=11034_D_Reading config file "$1"
  2952. % The compiler is starting to read the configuration file.
  2953. option_found_file=11035_D_found source file name "$1"
  2954. % Additional information about options.
  2955. % Displayed when you have the debug option turned on.
  2956. option_code_page_not_available=11039_E_Unknown code page
  2957. % An unknown code page for the source files was requested.
  2958. % The compiler is compiled with support for several code pages built-in.
  2959. % The requested code page is not in that list. You will need to recompile
  2960. % the compiler with support for the codepage you need.
  2961. option_config_is_dir=11040_F_Config file $1 is a directory
  2962. % Directories cannot be used as configuration files.
  2963. option_confict_asm_debug=11041_W_Assembler output selected "$1" cannot generate debug info, debugging disabled
  2964. % The selected assembler output cannot generate
  2965. % debugging information, debugging option is therefore disabled.
  2966. option_ppc386_deprecated=11042_W_Use of ppc386.cfg is deprecated, please use fpc.cfg instead
  2967. % Using ppc386.cfg is still supported for historical reasons, however, for a multiplatform
  2968. % system the naming makes no sense anymore. Please continue to use fpc.cfg instead.
  2969. option_else_without_if=11043_F_In options file $1 at line $2 \var{\#ELSE} directive without \var{\#IF(N)DEF} found
  2970. % An \var{\#ELSE} statement was found in the options file without a matching \var{\#IF(N)DEF} statement.
  2971. option_unsupported_target=11044_F_Option "$1" is not, or not yet, supported on the current target platform
  2972. % Not all options are supported or implemented for all target platforms. This message informs you that a chosen
  2973. % option is incompatible with the currently selected target platform.
  2974. option_unsupported_target_for_feature=11045_F_The feature "$1" is not, or not yet, supported on the selected target platform
  2975. % Not all features are supported or implemented for all target platforms. This message informs you that a chosen
  2976. % feature is incompatible with the currently selected target platform.
  2977. option_dwarf_smart_linking=11046_N_DWARF debug information cannot be used with smart linking on this target, switching to static linking
  2978. % Smart linking is currently incompatble with DWARF debug information on most
  2979. % platforms, so smart linking is disabled in such cases.
  2980. option_ignored_target=11047_W_Option "$1" is ignored for the current target platform.
  2981. % Not all options are supported or implemented for all target platforms. This message informs you that a chosen
  2982. % option is ignored for the currently selected target platform.
  2983. option_debug_external_unsupported=11048_W_Disabling external debug information because it is unsupported for the selected target/debug format combination.
  2984. % Not all debug formats can be stored in an external file on all platforms. In particular, on
  2985. % Mac OS X only DWARF debug information can be stored externally.
  2986. %\end{description}
  2987. # EndOfTeX
  2988. #
  2989. # Whole program optimization
  2990. #
  2991. # 12019 is the last used one
  2992. #
  2993. # BeginOfTeX
  2994. %
  2995. % \section{Whole program optimization messages}
  2996. % This section lists errors that occur when the compiler is performing
  2997. % whole program optimization.
  2998. % \begin{description}
  2999. wpo_cant_find_file=12000_F_Cannot open whole program optimization feedback file "$1"
  3000. % The compiler cannot open the specified feedback file with whole program optimization information.
  3001. wpo_begin_processing=12001_D_Processing whole program optimization information in wpo feedback file "$1"
  3002. % The compiler starts processing whole program optimization information found in the named file.
  3003. wpo_end_processing=12002_D_Finished processing the whole program optimization information in wpo feedback file "$1"
  3004. % The compiler has finished processing the whole program optimization information found in the named file.
  3005. wpo_expected_section=12003_E_Expected section header, but got "$2" at line $1 of wpo feedback file
  3006. % The compiler expected a section header in the whole program optimization file (starting with \%),
  3007. % but did not find it.
  3008. wpo_no_section_handler=12004_W_No handler registered for whole program optimization section "$2" at line $1 of wpo feedback file, ignoring
  3009. % The compiler has no handler to deal with the mentioned whole program optimization information
  3010. % section, and will therefore ignore it and skip to the next section.
  3011. wpo_found_section=12005_D_Found whole program optimization section "$1" with information about "$2"
  3012. % The compiler encountered a section with whole program optimization information, and according
  3013. % to its handler this section contains information usable for the mentioned purpose.
  3014. wpo_no_input_specified=12006_F_The selected whole program optimizations require a previously generated feedback file (use -Fw to specify)
  3015. % The compiler needs information gathered during a previous compilation run to perform the selected
  3016. % whole program optimizations. You can specify the location of the feedback file containing this
  3017. % information using the -Fw switch.
  3018. wpo_not_enough_info=12007_E_No collected information necessary to perform "$1" whole program optimization found
  3019. % While you pointed the compiler to a file containing whole program optimization feedback, it
  3020. % did not contain the information necessary to perform the selected optimizations. You most likely
  3021. % have to recompile the program using the appropate -OWxxx switch.
  3022. wpo_no_output_specified=12008_F_Specify a whole program optimization feedback file to store the generated info in (using -FW)
  3023. % You have to specify the feedback file in which the compiler has to store the whole program optimization
  3024. % feedback that is generated during the compilation run. This can be done using the -FW switch.
  3025. wpo_output_without_info_gen=12009_E_Not generating any whole program optimization information, yet a feedback file was specified (using -FW)
  3026. % The compiler was instructed to store whole program optimization feedback into a file specified using -FW,
  3027. % but not to actually generated any whole program optimization feedback. The classes of to be
  3028. % generated information can be speciied using -OWxxx.
  3029. wpo_input_without_info_use=12010_E_Not performing any whole program optimizations, yet an input feedback file was specified (using -Fw)
  3030. % The compiler was not instructed to perform any whole program optimizations (no -Owxxx parameters),
  3031. % but nevertheless an input file with such feedback was specified (using -Fwyyy). Since this can
  3032. % indicate that you forgot to specify an -Owxxx parameter, the compiler generates an error in this case.
  3033. wpo_skipping_unnecessary_section=12011_D_Skipping whole program optimization section "$1", because not needed by the requested optimizations
  3034. % The whole program optimization feedback file contains a section with information that is not
  3035. % required by the selected whole program optimizations.
  3036. wpo_duplicate_wpotype=12012_W_Overriding previously read information for "$1" from feedback input file using information in section "$2"
  3037. % The feedback file contains multiple sections that provide the same class of information (e.g.,
  3038. % information about which virtual methods can be devirtualized). In this case, the information in last encountered
  3039. % section is used. Turn on debugging output (-vd) to see which class of information is provided by each section.
  3040. wpo_cannot_extract_live_symbol_info_strip=12013_E_Cannot extract symbol liveness information from program when stripping symbols, use -Xs-
  3041. % Certain symbol liveness collectors extract the symbol information from the linked program. If the symbol information
  3042. % is stripped (option -Xs), this is not possible.
  3043. wpo_cannot_extract_live_symbol_info_no_link=12014_E_Cannot extract symbol liveness information from program when when not linking
  3044. % Certain symbol liveness collectors extract the symbol information from the linked program. If the program is not
  3045. % linked by the compiler, this is not possible.
  3046. wpo_cannot_find_symbol_progs=12015_F_Cannot find "$1" or "$2" to extract symbol liveness information from linked program
  3047. % Certain symbol liveness collectors need a helper program to extract the symbol information from the linked program.
  3048. % This helper program is normally 'nm', which is part of the GNU binutils.
  3049. wpo_error_reading_symbol_file=12016_E_Error during reading symbol liveness information produced by "$1"
  3050. % An error occurred during the reading of the symbol liveness file that was generated using the 'nm' or 'objdump' program. The reason
  3051. % can be that it was shorter than expected, or that its format was not understood.
  3052. wpo_error_executing_symbol_prog=12017_F_Error executing "$1" (exitcode: $2) to extract symbol information from linked program
  3053. % Certain symbol liveness collectors need a helper program to extract the symbol information from the linked program.
  3054. % The helper program produced the reported error code when it was run on the linked program.
  3055. wpo_symbol_live_info_needs_smart_linking=12018_E_Collection of symbol liveness information can only help when using smart linking, use -CX -XX
  3056. % Whether or not a symbol is live is determined by looking whether it exists in the final linked program.
  3057. % Without smart linking/dead code stripping, all symbols are always included, regardless of whether they are
  3058. % actually used or not. So in that case all symbols will be seen as live, which makes this optimization ineffective.
  3059. wpo_cant_create_feedback_file=12019_E_Cannot create specified whole program optimisation feedback file "$1"
  3060. % The compiler is unable to create the file specified using the -FW parameter to store the whole program optimisation information.
  3061. %\end{description}
  3062. # EndOfTeX
  3063. #
  3064. # Logo (option -l)
  3065. #
  3066. option_logo=11023_[
  3067. Free Pascal Compiler version $FPCFULLVERSION [$FPCDATE] for $FPCCPU
  3068. Copyright (c) 1993-2011 by Florian Klaempfl and others
  3069. ]
  3070. #
  3071. # Info (option -i)
  3072. #
  3073. option_info=11024_[
  3074. Free Pascal Compiler version $FPCVERSION
  3075. Compiler Date : $FPCDATE
  3076. Compiler CPU Target: $FPCCPU
  3077. Supported targets:
  3078. $OSTARGETS
  3079. Supported CPU instruction sets:
  3080. $INSTRUCTIONSETS
  3081. Supported FPU instruction sets:
  3082. $FPUINSTRUCTIONSETS
  3083. Supported ABI targets:
  3084. $ABITARGETS
  3085. Supported Optimizations:
  3086. $OPTIMIZATIONS
  3087. Supported Whole Program Optimizations:
  3088. All
  3089. $WPOPTIMIZATIONS
  3090. Supported Microcontroller types:
  3091. $CONTROLLERTYPES
  3092. This program comes under the GNU General Public Licence
  3093. For more information read COPYING.FPC
  3094. Report bugs, suggestions, etc. to:
  3095. http://bugs.freepascal.org
  3096. or
  3097. [email protected]
  3098. ]
  3099. #
  3100. # Help pages (option -? and -h)
  3101. #
  3102. # The first character on the line indicates who will display this
  3103. # line, the current possibilities are :
  3104. # * = every target
  3105. # 3 = 80x86 targets
  3106. # 4 = x86_64
  3107. # 6 = 680x0 targets
  3108. # A = ARM
  3109. # e = in extended debug mode only
  3110. # P = PowerPC targets
  3111. # S = Sparc targets
  3112. # V = Virtual machine targets
  3113. # The second character also indicates who will display this line,
  3114. # (if the above character was TRUE) the current possibilities are :
  3115. # * = everyone
  3116. # g = with GDB info supported by the compiler
  3117. # O = OS/2
  3118. # L = UNIX systems
  3119. # The third character represents the indentation level.
  3120. #
  3121. option_help_pages=11025_[
  3122. **0*_Put + after a boolean switch option to enable it, - to disable it
  3123. **1a_The compiler doesn't delete the generated assembler file
  3124. **2al_List sourcecode lines in assembler file
  3125. **2an_List node info in assembler file
  3126. *L2ap_Use pipes instead of creating temporary assembler files
  3127. **2ar_List register allocation/release info in assembler file
  3128. **2at_List temp allocation/release info in assembler file
  3129. **1A<x>_Output format:
  3130. **2Adefault_Use default assembler
  3131. 3*2Aas_Assemble using GNU AS
  3132. 3*2Amacho_Mach-O (Darwin, Intel 32 bit) using internal writer
  3133. 3*2Anasmcoff_COFF (Go32v2) file using Nasm
  3134. 3*2Anasmelf_ELF32 (Linux) file using Nasm
  3135. 3*2Anasmwin32_Win32 object file using Nasm
  3136. 3*2Anasmwdosx_Win32/WDOSX object file using Nasm
  3137. 3*2Awasm_Obj file using Wasm (Watcom)
  3138. 3*2Anasmobj_Obj file using Nasm
  3139. 3*2Amasm_Obj file using Masm (Microsoft)
  3140. 3*2Atasm_Obj file using Tasm (Borland)
  3141. 3*2Aelf_ELF (Linux) using internal writer
  3142. 3*2Acoff_COFF (Go32v2) using internal writer
  3143. 3*2Apecoff_PE-COFF (Win32) using internal writer
  3144. 4*2Aas_Assemble using GNU AS
  3145. 4*2Agas_Assemble using GNU GAS
  3146. 4*2Agas-darwin_Assemble darwin Mach-O64 using GNU GAS
  3147. 4*2Amasm_Win64 object file using ml64 (Microsoft)
  3148. 4*2Apecoff_PE-COFF (Win64) using internal writer
  3149. 4*2Aelf_ELF (Linux-64bit) using internal writer
  3150. 6*2Aas_Unix o-file using GNU AS
  3151. 6*2Agas_GNU Motorola assembler
  3152. 6*2Amit_MIT Syntax (old GAS)
  3153. 6*2Amot_Standard Motorola assembler
  3154. A*2Aas_Assemble using GNU AS
  3155. P*2Aas_Assemble using GNU AS
  3156. S*2Aas_Assemble using GNU AS
  3157. **1b_Generate browser info
  3158. **2bl_Generate local symbol info
  3159. **1B_Build all modules
  3160. **1C<x>_Code generation options:
  3161. **2C3<x>_Turn on ieee error checking for constants
  3162. **2Ca<x>_Select ABI, see fpc -i for possible values
  3163. **2Cb_Generate big-endian code
  3164. **2Cc<x>_Set default calling convention to <x>
  3165. **2CD_Create also dynamic library (not supported)
  3166. **2Ce_Compilation with emulated floating point opcodes
  3167. **2Cf<x>_Select fpu instruction set to use, see fpc -i for possible values
  3168. **2CF<x>_Minimal floating point constant precision (default, 32, 64)
  3169. **2Cg_Generate PIC code
  3170. **2Ch<n>_<n> bytes heap (between 1023 and 67107840)
  3171. **2Ci_IO-checking
  3172. **2Cn_Omit linking stage
  3173. **2Co_Check overflow of integer operations
  3174. **2CO_Check for possible overflow of integer operations
  3175. **2Cp<x>_Select instruction set, see fpc -i for possible values
  3176. **2CP<x>=<y>_ packing settings
  3177. **3CPPACKSET=<y>_ <y> set allocation: 0, 1 or DEFAULT or NORMAL, 2, 4 and 8
  3178. **2Cr_Range checking
  3179. **2CR_Verify object method call validity
  3180. **2Cs<n>_Set stack checking size to <n>
  3181. **2Ct_Stack checking (for testing only, see manual)
  3182. **2CX_Create also smartlinked library
  3183. **1d<x>_Defines the symbol <x>
  3184. **1D_Generate a DEF file
  3185. **2Dd<x>_Set description to <x>
  3186. **2Dv<x>_Set DLL version to <x>
  3187. *O2Dw_PM application
  3188. **1e<x>_Set path to executable
  3189. **1E_Same as -Cn
  3190. **1fPIC_Same as -Cg
  3191. **1F<x>_Set file names and paths:
  3192. **2Fa<x>[,y]_(for a program) load units <x> and [y] before uses is parsed
  3193. **2Fc<x>_Set input codepage to <x>
  3194. **2FC<x>_Set RC compiler binary name to <x>
  3195. **2Fd_Disable the compiler's internal directory cache
  3196. **2FD<x>_Set the directory where to search for compiler utilities
  3197. **2Fe<x>_Redirect error output to <x>
  3198. **2Ff<x>_Add <x> to framework path (Darwin only)
  3199. **2FE<x>_Set exe/unit output path to <x>
  3200. **2Fi<x>_Add <x> to include path
  3201. **2Fl<x>_Add <x> to library path
  3202. **2FL<x>_Use <x> as dynamic linker
  3203. **2Fm<x>_Load unicode conversion table from <x>.txt in the compiler dir
  3204. **2Fo<x>_Add <x> to object path
  3205. **2Fr<x>_Load error message file <x>
  3206. **2FR<x>_Set resource (.res) linker to <x>
  3207. **2Fu<x>_Add <x> to unit path
  3208. **2FU<x>_Set unit output path to <x>, overrides -FE
  3209. **2FW<x>_Store generated whole-program optimization feedback in <x>
  3210. **2Fw<x>_Load previously stored whole-program optimization feedback from <x>
  3211. *g1g_Generate debug information (default format for target)
  3212. *g2gc_Generate checks for pointers
  3213. *g2gh_Use heaptrace unit (for memory leak/corruption debugging)
  3214. *g2gl_Use line info unit (show more info with backtraces)
  3215. *g2go<x>_Set debug information options
  3216. *g3godwarfsets_ Enable DWARF 'set' type debug information (breaks gdb < 6.5)
  3217. *g3gostabsabsincludes_ Store absolute/full include file paths in Stabs
  3218. *g3godwarfmethodclassprefix_ Prefix method names in DWARF with class name
  3219. *g2gp_Preserve case in stabs symbol names
  3220. *g2gs_Generate Stabs debug information
  3221. *g2gt_Trash local variables (to detect uninitialized uses)
  3222. *g2gv_Generates programs traceable with Valgrind
  3223. *g2gw_Generate DWARFv2 debug information (same as -gw2)
  3224. *g2gw2_Generate DWARFv2 debug information
  3225. *g2gw3_Generate DWARFv3 debug information
  3226. *g2gw4_Generate DWARFv4 debug information (experimental)
  3227. **1i_Information
  3228. **2iD_Return compiler date
  3229. **2iV_Return short compiler version
  3230. **2iW_Return full compiler version
  3231. **2iSO_Return compiler OS
  3232. **2iSP_Return compiler host processor
  3233. **2iTO_Return target OS
  3234. **2iTP_Return target processor
  3235. **1I<x>_Add <x> to include path
  3236. **1k<x>_Pass <x> to the linker
  3237. **1l_Write logo
  3238. **1M<x>_Set language mode to <x>
  3239. **2Mfpc_Free Pascal dialect (default)
  3240. **2Mobjfpc_FPC mode with Object Pascal support
  3241. **2Mdelphi_Delphi 7 compatibility mode
  3242. **2Mtp_TP/BP 7.0 compatibility mode
  3243. **2Mmacpas_Macintosh Pascal dialects compatibility mode
  3244. **1n_Do not read the default config files
  3245. **1N<x>_Node tree optimizations
  3246. **2Nu_Unroll loops
  3247. **1o<x>_Change the name of the executable produced to <x>
  3248. **1O<x>_Optimizations:
  3249. **2O-_Disable optimizations
  3250. **2O1_Level 1 optimizations (quick and debugger friendly)
  3251. **2O2_Level 2 optimizations (-O1 + quick optimizations)
  3252. **2O3_Level 3 optimizations (-O2 + slow optimizations)
  3253. **2Oa<x>=<y>_Set alignment
  3254. **2Oo[NO]<x>_Enable or disable optimizations, see fpc -i for possible values
  3255. **2Op<x>_Set target cpu for optimizing, see fpc -i for possible values
  3256. **2OW<x>_Generate whole-program optimization feedback for optimization <x>, see fpc -i for possible values
  3257. **2Ow<x>_Perform whole-program optimization <x>, see fpc -i for possible values
  3258. **2Os_Optimize for size rather than speed
  3259. **1pg_Generate profile code for gprof (defines FPC_PROFILE)
  3260. **1R<x>_Assembler reading style:
  3261. **2Rdefault_Use default assembler for target
  3262. 3*2Ratt_Read AT&T style assembler
  3263. 3*2Rintel_Read Intel style assembler
  3264. 6*2RMOT_Read motorola style assembler
  3265. **1S<x>_Syntax options:
  3266. **2S2_Same as -Mobjfpc
  3267. **2Sc_Support operators like C (*=,+=,/= and -=)
  3268. **2Sa_Turn on assertions
  3269. **2Sd_Same as -Mdelphi
  3270. **2Se<x>_Error options. <x> is a combination of the following:
  3271. **3*_<n> : Compiler halts after the <n> errors (default is 1)
  3272. **3*_w : Compiler also halts after warnings
  3273. **3*_n : Compiler also halts after notes
  3274. **3*_h : Compiler also halts after hints
  3275. **2Sg_Enable LABEL and GOTO (default in -Mtp and -Mdelphi)
  3276. **2Sh_Use reference counted strings (ansistring by default) instead of shortstrings
  3277. **2Si_Turn on inlining of procedures/functions declared as "inline"
  3278. **2Sk_Load fpcylix unit
  3279. **2SI<x>_Set interface style to <x>
  3280. **3SIcom_COM compatible interface (default)
  3281. **3SIcorba_CORBA compatible interface
  3282. **2Sm_Support macros like C (global)
  3283. **2So_Same as -Mtp
  3284. **2Ss_Constructor name must be init (destructor must be done)
  3285. **2Sx_Enable exception keywords (default in Delphi/ObjFPC modes)
  3286. **2Sy_@<pointer> returns a typed pointer, same as $T+
  3287. **1s_Do not call assembler and linker
  3288. **2sh_Generate script to link on host
  3289. **2st_Generate script to link on target
  3290. **2sr_Skip register allocation phase (use with -alr)
  3291. **1T<x>_Target operating system:
  3292. 3*2Tdarwin_Darwin/Mac OS X
  3293. 3*2Temx_OS/2 via EMX (including EMX/RSX extender)
  3294. 3*2Tfreebsd_FreeBSD
  3295. 3*2Tgo32v2_Version 2 of DJ Delorie DOS extender
  3296. 3*2Tiphonesim_ iPhoneSimulator from iOS SDK 3.2+ (older versions: -Tdarwin)
  3297. 3*2Tlinux_Linux
  3298. 3*2Tnetbsd_NetBSD
  3299. 3*2Tnetware_Novell Netware Module (clib)
  3300. 3*2Tnetwlibc_Novell Netware Module (libc)
  3301. 3*2Topenbsd_OpenBSD
  3302. 3*2Tos2_OS/2 / eComStation
  3303. 3*2Tsunos_SunOS/Solaris
  3304. 3*2Tsymbian_Symbian OS
  3305. 3*2Tsolaris_Solaris
  3306. 3*2Twatcom_Watcom compatible DOS extender
  3307. 3*2Twdosx_WDOSX DOS extender
  3308. 3*2Twin32_Windows 32 Bit
  3309. 3*2Twince_Windows CE
  3310. 4*2Tdarwin_Darwin/Mac OS X
  3311. 4*2Tlinux_Linux
  3312. 4*2Twin64_Win64 (64 bit Windows systems)
  3313. 6*2Tamiga_Commodore Amiga
  3314. 6*2Tatari_Atari ST/STe/TT
  3315. 6*2Tlinux_Linux
  3316. 6*2Tpalmos_PalmOS
  3317. A*2Tdarwin_Darwin/iPhoneOS/iOS
  3318. A*2Tlinux_Linux
  3319. A*2Twince_Windows CE
  3320. P*2Tamiga_AmigaOS
  3321. P*2Tdarwin_Darwin/Mac OS X
  3322. P*2Tlinux_Linux
  3323. P*2Tmacos_Mac OS (classic)
  3324. P*2Tmorphos_MorphOS
  3325. S*2Tsolaris_Solaris
  3326. S*2Tlinux_Linux
  3327. **1u<x>_Undefines the symbol <x>
  3328. **1U_Unit options:
  3329. **2Un_Do not check where the unit name matches the file name
  3330. **2Ur_Generate release unit files (never automatically recompiled)
  3331. **2Us_Compile a system unit
  3332. **1v<x>_Be verbose. <x> is a combination of the following letters:
  3333. **2*_e : Show errors (default) 0 : Show nothing (except errors)
  3334. **2*_w : Show warnings u : Show unit info
  3335. **2*_n : Show notes t : Show tried/used files
  3336. **2*_h : Show hints c : Show conditionals
  3337. **2*_i : Show general info d : Show debug info
  3338. **2*_l : Show linenumbers r : Rhide/GCC compatibility mode
  3339. **2*_s : Show time stamps q : Show message numbers
  3340. **2*_a : Show everything x : Executable info (Win32 only)
  3341. **2*_b : Write file names messages p : Write tree.log with parse tree
  3342. **2*_ with full path v : Write fpcdebug.txt with
  3343. **2*_ lots of debugging info
  3344. **2*_m<x>,<y> : Don't show messages numbered <x> and <y>
  3345. **1W<x>_Target-specific options (targets)
  3346. 3*2WA_Specify native type application (Windows)
  3347. 4*2WA_Specify native type application (Windows)
  3348. A*2WA_Specify native type application (Windows)
  3349. 3*2Wb_Create a bundle instead of a library (Darwin)
  3350. P*2Wb_Create a bundle instead of a library (Darwin)
  3351. p*2Wb_Create a bundle instead of a library (Darwin)
  3352. A*2Wb_Create a bundle instead of a library (Darwin)
  3353. 4*2Wb_Create a bundle instead of a library (Darwin)
  3354. 3*2WB_Create a relocatable image (Windows, Symbian)
  3355. 3*2WBxxxx_Set image base to xxxx (Windows, Symbian)
  3356. 4*2WB_Create a relocatable image (Windows)
  3357. 4*2WBxxxx_Set image base to xxxx (Windows)
  3358. A*2WB_Create a relocatable image (Windows, Symbian)
  3359. A*2WBxxxx_Set image base to xxxx (Windows, Symbian)
  3360. 3*2WC_Specify console type application (EMX, OS/2, Windows)
  3361. 4*2WC_Specify console type application (EMX, OS/2, Windows)
  3362. A*2WC_Specify console type application (Windows)
  3363. P*2WC_Specify console type application (Classic Mac OS)
  3364. 3*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)
  3365. 4*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)
  3366. A*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)
  3367. 3*2We_Use external resources (Darwin)
  3368. 4*2We_Use external resources (Darwin)
  3369. A*2We_Use external resources (Darwin)
  3370. P*2We_Use external resources (Darwin)
  3371. p*2We_Use external resources (Darwin)
  3372. 3*2WF_Specify full-screen type application (EMX, OS/2)
  3373. 3*2WG_Specify graphic type application (EMX, OS/2, Windows)
  3374. 4*2WG_Specify graphic type application (EMX, OS/2, Windows)
  3375. A*2WG_Specify graphic type application (Windows)
  3376. P*2WG_Specify graphic type application (Classic Mac OS)
  3377. 3*2Wi_Use internal resources (Darwin)
  3378. 4*2Wi_Use internal resources (Darwin)
  3379. A*2Wi_Use internal resources (Darwin)
  3380. P*2Wi_Use internal resources (Darwin)
  3381. p*2Wi_Use internal resources (Darwin)
  3382. 3*2WI_Turn on/off the usage of import sections (Windows)
  3383. 4*2WI_Turn on/off the usage of import sections (Windows)
  3384. A*2WI_Turn on/off the usage of import sections (Windows)
  3385. 3*2WN_Do not generate relocation code, needed for debugging (Windows)
  3386. 4*2WN_Do not generate relocation code, needed for debugging (Windows)
  3387. A*2WN_Do not generate relocation code, needed for debugging (Windows)
  3388. A*2Wpxxxx_Specify the controller type, see fpc -i for possible values
  3389. V*2Wpxxxx_Specify the controller type, see fpc -i for possible values
  3390. 3*2WR_Generate relocation code (Windows)
  3391. 4*2WR_Generate relocation code (Windows)
  3392. A*2WR_Generate relocation code (Windows)
  3393. P*2WT_Specify MPW tool type application (Classic Mac OS)
  3394. **2WX_Enable executable stack (Linux)
  3395. **1X_Executable options:
  3396. **2Xc_Pass --shared/-dynamic to the linker (BeOS, Darwin, FreeBSD, Linux)
  3397. **2Xd_Do not use standard library search path (needed for cross compile)
  3398. **2Xe_Use external linker
  3399. **2Xg_Create debuginfo in a separate file and add a debuglink section to executable
  3400. **2XD_Try to link units dynamically (defines FPC_LINK_DYNAMIC)
  3401. **2Xi_Use internal linker
  3402. **2Xm_Generate link map
  3403. **2XM<x>_Set the name of the 'main' program routine (default is 'main')
  3404. **2XP<x>_Prepend the binutils names with the prefix <x>
  3405. **2Xr<x>_Set the linker's rlink-path to <x> (needed for cross compile, see the ld manual for more information) (BeOS, Linux)
  3406. **2XR<x>_Prepend <x> to all linker search paths (BeOS, Darwin, FreeBSD, Linux, Mac OS, Solaris)
  3407. **2Xs_Strip all symbols from executable
  3408. **2XS_Try to link units statically (default, defines FPC_LINK_STATIC)
  3409. **2Xt_Link with static libraries (-static is passed to linker)
  3410. **2XX_Try to smartlink units (defines FPC_LINK_SMART)
  3411. **1*_
  3412. **1?_Show this help
  3413. **1h_Shows this help without waiting
  3414. ]
  3415. #
  3416. # The End...