[Lazarus] Codetools in distress

Joost van der Sluis joost at cnoc.nl
Wed Jun 14 10:22:48 CEST 2017


Op 14-06-17 om 10:09 schreef Mattias Gaertner via Lazarus:
> On Tue, 13 Jun 2017 23:05:03 +0200
>>
>> But when showed in Lazarus, {$MODE objfpc} is grayed out. So Lazarus
>> does not detect that FPC is defined...
>>
>> In the defines-editor, I do see the FPC-define, but I don't see any
>> value. Is that normal?
> 
> No. The macro FPC comes from reading the compiler output.
> Try main menu
> Tools / Rescan FPC Source Directory
> to reread the compiler output.
>   
>> Any clue why 'fpc' is not defined according to the codetools?
> 
> Open unit variants in source editor.
> Main menu / Source / Unit information / Show Codetools defines
> In "Values" you should see a lot of defines, like VER3_1_1 and FPC.

Fixed, not in Lazarus, but fpc.

Why is it, that when I (working mostly on fpc) discover Lazarus-bugs, 
they almost always appear to be fpc-issues?

One would thing I should be able to recognize and handle fpc-bugs... ;)

Regards,

Joost.


More information about the Lazarus mailing list