Hi,

On Linux, GTK 2, using fpc trunk, lazarus trunk:

Open unit packages/fcl-net/src/ssockets.pp

Code tools do not work.

Reason can be detected as follows:

Ctrl-Click sockets unit in interface uses clause.

Lazarus opens the sockets unit in rtl-extra/src/amiga (!?)

All code completion is nroken in the ssockets unit, because lazarus chokes on
functions in the amiga unit like:

function bsd_socket(Domain: LongInt location 'd0'; Type_: LongInt location 
'd1'; Protocol: LongInt location 'd2'): LongInt; syscall SocketBase 30;

1/ Seems like the heuristics for opening units needs a tweak.

2/ Probably the amiga OS devs would be happy to see support for location 'x' as 
well since it would enable code completion.

Michael.


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to