http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770

--- Comment #34 from Mark Mitchell <mark at codesourcery dot com> 2010-12-11 
23:30:19 UTC ---
On 12/11/2010 3:28 PM, hjl.tools at gmail dot com wrote:

> 1. How do you find out what priority "foo" constructor has?

If you're looking at source code, read the source.  If you're looking at
object code, look at what section the constructor is in; the numerical
value of .ctor.NNNNN indicates the priority.

> 2. How do you run your constructor before "foo"?

Given it a higher priority.

Reply via email to