edek 0 Junior Poster

I'd like to know how does Visual C++ copes with 'static initialization dependency' which is a problem which occurs when you have two(or more) files/ translation units, in one you have static global object and in other an reference to this object. When the second file will be compiled first there won't be the object it is referencing to created, yet. So, the order in which files are compiled matters. And there is something wierd for me: this problem doesn't occur in VC++ - somebody know WHY?
Dont't take it as a complaint! (-8{