Clarification of __attribute__ init_priority
Ian Lance Taylor
iant@google.com
Wed May 18 06:40:00 GMT 2011
Vladimir Simonov <sv@sw.ru> writes:
> On 05/17/2011 08:44 PM, Ian Lance Taylor wrote:
>> Vladimir Simonov<sv@sw.ru> writes:
>>
>>> But it means that init priority can't be set lover(value greater) then default.
>>> Is it correct?
>>
>> All objects with an init_priority attribute are constructed before any
>> object with no init_priority attribute.
> And are destructed _after_ any object with no init_priority attribute:)
Yes.
Ian
More information about the Gcc-help
mailing list