Forum > Editor

code completion and free pascal inc files

(1/1)

mschnell:
I tried (successfully in Win32, unsuccessfully in Linux) to create a small sample project for a multi threadded application.

For a test I simply do:

type TMyThread = class (TThread)
end;

var MyThread  = TMyThread

This dioes compile correctly, so the compiler does find all identifiers.

In both systems: When I press ctrl-space  after thedot of

begin
  MyThread.

I get an  error message "Identifyer not found: TThread"

in the "class" line.

Is this because TThread is defined in an inc file and/or controlled by several conditionals in the Free Pascal RTL source ?

The debugger does not step into TThread.create, either.

-Michael

Navigation

[0] Message Index

Go to full version