[fpc-devel] C++ linking questions

Anton Kavalenka anton.k at tut.by
Mon Mar 22 11:19:28 CET 2010


Florian Klaempfl wrote:
>>> 5. What's the best way to save the namespace in the tobjectdef class?
>>> As a string containing 'FirstPart.SecondPart'? Or as C++ mangled
>>> string '9FirstPart10SecondPart'? Or something else (e.g. a list
>>> containing the parts)?
>>>       
>> I've decided to save the mangled name in the objectdef. It's mangled
>> directly when parsing it.
>>     
>
> I think it's better to store just the name space string, it looks more
> flexbile to me.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>   
Don't UNITS in Pascal intended to separate NAMESPACES?
But unfortunately this prevents nested namespaces.

Regards,
Anton Kavalenka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100322/ddeae02d/attachment.html>


More information about the fpc-devel mailing list