Sign in Join

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

Mailing lists / fpc-pascal / 2004-02

compiling CLX with FPC and Classes.Inc

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Den Jean

Hi,

I'd like to use fpc with FreeCLX, but when compiling I stumbled on the fact the SListIndexError is not known because {$i classes.inc} is included after implementation and not just behind interface.

I hope this an error ?

In kylix/source alike constants (constse.inc) are defined in RtlConsts and used everywhere.

kind regards,

Den Jean

Reply by email

Michael Van Canneyt
to Den Jean
Den Jean wrote 10 lines
Hi, I'd like to use fpc with FreeCLX, but when compiling I stumbled on the fact the SListIndexError is not known because {$i classes.inc} is included after implementation and not just behind interface. I hope this an error ? In kylix/source alike constants (constse.inc) are defined in RtlConsts and used everywhere.

This is now also true for FPC, but only in the 1.9.x development tree.

Michael.

Reply by email

Peter Vreman
to Michael Van Canneyt
Show quoted text 11 lines
> I'd like to use fpc with FreeCLX, but when compiling I stumbled on the > fact the SListIndexError is not known because {$i classes.inc} is > included > after implementation and not just behind interface. > > I hope this an error ? > > In kylix/source alike constants (constse.inc) are defined in > RtlConsts and used everywhere. This is now also true for FPC, but only in the 1.9.x development tree.

Don't forget that the CLX is made for Kylix and sometimes relies on internal data structures as used by Kylix. So when the units already compile it is not guaranteed that it'll work.

If you want gui class libraries, have a look at LCL from Lazarus.

Reply by email

Peter Vreman
to Michael Van Canneyt: This is now also true for FPC, but only in the 1.9.x development tree. Michael.
Show quoted text 11 lines
> I'd like to use fpc with FreeCLX, but when compiling I stumbled on the > fact the SListIndexError is not known because {$i classes.inc} is > included > after implementation and not just behind interface. > > I hope this an error ? > > In kylix/source alike constants (constse.inc) are defined in > RtlConsts and used everywhere. This is now also true for FPC, but only in the 1.9.x development tree.

Don't forget that the CLX is made for Kylix and sometimes relies on internal data structures as used by Kylix. So when the units already compile it is not guaranteed that it'll work.

If you want gui class libraries, have a look at LCL from Lazarus.

Reply by email

Peter Vreman
Show quoted text 11 lines
> I'd like to use fpc with FreeCLX, but when compiling I stumbled on the > fact the SListIndexError is not known because {$i classes.inc} is > included > after implementation and not just behind interface. > > I hope this an error ? > > In kylix/source alike constants (constse.inc) are defined in > RtlConsts and used everywhere. This is now also true for FPC, but only in the 1.9.x development tree.

Don't forget that the CLX is made for Kylix and sometimes relies on internal data structures as used by Kylix. So when the units already compile it is not guaranteed that it'll work.

If you want gui class libraries, have a look at LCL from Lazarus.

Reply by email