Recent

Author Topic: code completion and free pascal inc files  (Read 6426 times)

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
code completion and free pascal inc files
« on: June 02, 2004, 09:06:18 am »
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

 

TinyPortal © 2005-2018