On Thu, Jul 01, 2010 at 06:56:26PM +0200, Hans-Peter Diettrich wrote: > > FPC overcomes this problem with the .ppu files (I assume)
No. That is an optimalization. The core feature is defining the unit concept, and clearing (reinitializing from cmdline params) preprocessor state > C++ with > mangled names, reflecting the precise attributes of every compiled item. .... which is why to my best knowledge, C++ doesn't solve this at all. Mangled names solve name clashes between same named symbols in different modules. They say nothing about this. But you are right that the preprocessor state _IS_ the problem. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
