Sfoglia il codice sorgente

+ exec_e_cant_call_linker shows now the error message

florian 2 anni fa
parent
commit
c46bcbb8e6
4 ha cambiato i file con 217 aggiunte e 215 eliminazioni
  1. 1 1
      compiler/link.pas
  2. 1 1
      compiler/msg/errore.msg
  3. 1 1
      compiler/msgidx.inc
  4. 214 212
      compiler/msgtxt.inc

+ 1 - 1
compiler/link.pas

@@ -901,7 +901,7 @@ Implementation
                exitcode:=RequotedExecuteProcess(command,para);
              except on E:EOSError do
                begin
-                 Message(exec_e_cant_call_linker);
+                 Message1(exec_e_cant_call_linker,e.Message);
                  current_settings.globalswitches:=current_settings.globalswitches+[cs_link_nolink];
                  DoExec:=false;
                end;

+ 1 - 1
compiler/msg/errore.msg

@@ -3065,7 +3065,7 @@ exec_w_libfile_not_found=09012_W_Library $1 not found, Linking may fail !
 % Check your paths.
 exec_e_error_while_linking=09013_E_Error while linking
 % Generic error while linking.
-exec_e_cant_call_linker=09014_E_Can't call the linker, switching to external linking
+exec_e_cant_call_linker=09014_E_Can't call the linker, switching to external linking (error was "$1")
 % An error occurred when calling an external linker. The compiler will produce a script that
 % can be used to assemble and link the program.
 exec_i_linking=09015_I_Linking $1

+ 1 - 1
compiler/msgidx.inc

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

File diff suppressed because it is too large
+ 214 - 212
compiler/msgtxt.inc


Some files were not shown because too many files changed in this diff