ordering of constructors

Phil Edwards phil@codesourcery.com
Mon Apr 12 20:22:00 GMT 2004


On Mon, Apr 12, 2004 at 11:48:26AM -0700, Matt Austern wrote:
> But it's a little more complicated than that, since some of this is done
> by the dynamic loader and not by the compiler.

That's normal.


> On OS X, if a program uses dynamic libraries (and I'm not just talking
> about programmatically loaded libraries), we have lazy binding and
> some initialization is delayed until after the start of main().

That's less normal.  But still sane.  :-)


> Libraries that the program manually loads and unloads are a whole
> other mess.

I will continue to pretend that those don't exist as long as each of the
C++ and POSIX committees continue to pretend that the other doesn't exist...

-- 
Behind everything some further thing is found, forever; thus the tree behind
the bird, stone beneath soil, the sun behind Urth.  Behind our efforts, let
there be found our efforts.
              - Ascian saying, as related by Loyal to the Group of Seventeen



More information about the Gcc mailing list