[Lazarus] Code Explorer problem with libc unit.

Giuliano Colla giuliano.colla at fastwebnet.it
Sat Feb 16 13:06:46 CET 2008


Mattias Gaertner ha scritto:
> On Thu, 14 Feb 2008 21:17:12 +0100
> Giuliano Colla <giuliano.colla at fastwebnet.it> wrote:
> 
>> When the libc unit ($FPCSOURCE/rtl/netwlibc/libc.pp) is in the uses 
>> clause of a unit, it happens that code explorer gets confused, and 
>> whenever you click on "Find Declaration", if the target isn't in the 
>> current unit, it opens the libc unit, around a macNS finderInfo
>> record, on the line:
>>
>>                      0 : ( generic : array[0..31] of byte );
>>
>> and reports an error:
>> "An identifier was expected but generic has been found."
>> Commenting out the libc brings back everything to normal.
>>
>> FPC 2.2.0, platform linux, widgetset irrelevant.
> 
> Fixed in 14151. Please test.
> 

I had no doubts :-) , but I tested, and now it works as expected!

Thanks a lot, it was a nuisance to comment/uncomment libc!

Giuliano

-- 
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)



More information about the Lazarus mailing list