Re: Initialization priorities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initialization priorities



>>>>> "mendell" == mendell  <mendell@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
CodeSourcery, LLC               http://www.codesourcery.com