<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jonas Maebe wrote:
<blockquote
cite="mid:87B740B9-5789-4D09-B096-8BC8920F1AB9@elis.ugent.be"
type="cite">
<pre wrap="">On 22 Mar 2010, at 11:19, Anton Kavalenka wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Don't UNITS in Pascal intended to separate NAMESPACES?
But unfortunately this prevents nested namespaces.
</pre>
</blockquote>
<pre wrap=""><!---->
The discussion is not about adding support for C++-style namespaces to Pascal, but for how to specify the C++ namespace in which an (externally implemented) C++ class is defined (as this influences the name mangling).
Jonas_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
<font face="Helvetica, Arial, sans-serif">I understand :)<br>
<br>
The most amazing thing will start later (during linking). In what order
runtime initialization should be performed (first Pascal the C++ or
vice versa)?<br>
Obviously C++ object files has lots of references to C++ runtime so in
best case we get exe file with 2 runtimes inside, <br>
in worst case we get crash on initialization.<br>
<br>
Regards,<br>
Anton<br>
</font>
</body>
</html>