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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
