Initialization priorities

Mark Mitchell mark at codesourcery.com
Fri Mar 31 20:35:54 UTC 2000


>>>>> "mendell" == mendell  <mendell at ca.ibm.com> writes:

    mendell> The compiler is not allowed to initialize t before s in
    mendell> the example below.  If you put a #pragma priority between
    mendell> the two, the values before and after must be such that t
    mendell> is alwas initialized after s.

I do not believe that is true in GCC, but it may well be true in your
compiler.

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the cxx-abi-dev mailing list