Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-03

trunk IDE now uses the project's compiler for code navigation

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi,

Short:
Code navigation now works correctly when using another compiler in the project different from the default compiler under Tools -> Options.

Please test.

Long:
Code navigation needs the macros and search paths of the current compiler. The settings are fetched by running the compiler with parameter -va.

Formerly the IDE only asked the default compiler from Tools -> Options with the project's target OS and CPU for settings.

The trunk 1.3 IDE now asks the compiler of the project's compiler options. It recognizes a compiler if its name is fpc.exe or ppc*.exe (*nix: fpc or ppc*). Otherwise it uses the default compiler.

That means code navigation now works correctly when switching the compiler via build modes or when loading a project using another compiler.

You can pass the select options -Xp and -V via the Project -> Compiler Options -> Other -> Custom options.

Mattias

Reply by email