Re: Clarification of __attribute__ init_priority

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/17/2011 08:44 PM, Ian Lance Taylor wrote:
Vladimir Simonov<sv@xxxxx>  writes:

2. If 1 is true what about anonymous namespace? Is it considered the same namespace
for different translation units?

Thank you for you answer.
One question below.
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:)
I just like to have a object destructed _before_ any object with no
init_priority attribute. Is it possible? May be I'm conceptually wrong
in my willing?

Regards
Vladimir


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux