Sign in Join

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

Mailing lists / fpc-devel / 2005-01

Two classes.pp - why?

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner

There are two classes.pp in the fpc sources for every OS. First question: Why?

Second question: Are there any other double units?

Third: Do I need to add a workaround in Lazarus to find the right one, or will one of them be removed soon anyway?

Mattias

Reply by email

Peter Vreman
to Mattias Gaertner
Show quoted text 8 lines
There are two classes.pp in the fpc sources for every OS. First question: Why? Second question: Are there any other double units? Third: Do I need to add a workaround in Lazarus to find the right one, or will one of them be removed soon anyway?

It has only one classes.pp per os in the rtl:

$ find . -name 'classes.pp'
./os2/classes.pp
./linux/classes.pp
./win32/classes.pp
./darwin/classes.pp
./morphos/classes.pp
./go32v2/classes.pp
./freebsd/classes.pp
./netware/classes.pp
./netbsd/classes.pp
./netwlibc/classes.pp
./watcom/classes.pp
./openbsd/classes.pp

The classes.pp in the fcl is 1.0.x compatibility and not used by 1.9.x. These will be removed in the 2.1.x releases

Reply by email