Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-09

TypeInfo Illegal Expression

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

I'm converting a Delphi app to FPC and I'm getting an "Error: Illegal expression" when I use the function TypeInfo.

Example:

TypeInfo(TDateTime).

The unit that calls this function is mode objfpc.

I'm using FPC 2.7.1 from trunk on Linux x86_64 (Ubuntu 11.04).

Any hint?

Thanks in advance, 
Leonardo M. Ramé
http://leonardorame.blogspot.com