dcc32 output truncates file paths longer then 128 chars

91 views Asked by At
program Project1;

{$APPTYPE CONSOLE}

{$R *.res}

uses
  System.SysUtils;

begin
  try
    a := 1;
    { TODO -oUser -cConsole Main : Insert code here }
  except
    on E: Exception do
      Writeln(E.ClassName, ': ', E.Message);
  end;
end.

dcc32 'D:\workspace\Delphi\Testes\dcc-path\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Project1.dpr'

When path of file is longer then 128, dcc truncates. The above error is outputed like this:

D:\workspace\Delphi\Tests\dcc-path\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\Nova pasta\NovError: E2003 Undeclared identifier: 'a'

I dont see the full file name, neither the line number, in hints/warnings/errors. Is there a workaround for this?

Using Tokyo 10.2.

0

There are 0 answers