Sign in Join

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

Mailing lists / fpc-devel / 2010-08

Type redefinitions

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Hans-Peter Diettrich

Several type redefinitions are reported in compiling the compiler, can these be removed?

Most types (PByte...) are declared in systemh.inc and objpash.inc. I'm not sure, but can't these redefinitions be excluded conditionally, for e.g. mode OBJPAS (as set for the compiler)?

DoDi

Reply by email

Florian Klämpfl
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote
Several type redefinitions are reported in compiling the compiler, can these be removed?

Yes.

Most types (PByte...) are declared in systemh.inc and objpash.inc. I'm not sure, but can't these redefinitions be excluded conditionally, for e.g. mode OBJPAS (as set for the compiler)?

Then they should be moved to the objpas unit but I think several of them are used by the system unit itself. So having some there and some in the objpas unit will cause only confusion.

Reply by email