2
0

errore.msg 210 KB

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