[fpc-devel] Status report for "class helpers"

Florian Klaempfl florian at freepascal.org
Sat Jan 29 16:08:29 CET 2011


Am 29.01.2011 13:25, schrieb Sven Barth:
> Do you (especially @Devs) think that this is a sufficient approach or
> should this be done another way? (Note: I have not yet profiled
> compiling the compiler once with that search enabled and once without)

Profile compiler compilation first, then we can decide what to do.

>
> Perhaps searching for class helpers should be made dependent on a
> modeswitch? E.g. "useclasshelpers"
> That might lead to the potentially confusing behavior that a class
> helper is not even found in its own unit though, although I think that
> this would be a consequent behavior (the switch needs to be documented
> good enough though ^^).

I think this is too dangerous.

>
> What is the difference between the "Message*" and "CGMessage*"
> procedures? Or asked differently: when should I use which?

During code generation, use CGMessage*



More information about the fpc-devel mailing list