This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: init_priority with GCC
On Tue, Aug 19, 2003 at 04:48:59PM -0700, Jim Wilson wrote:
> Frank Mehnert wrote:
> >why does gcc (the C compiler) support the constructor attribute but not
> >the init_priority attribute?
>
> The constructor attribute support is there because a volunteer
> contributed it. The init_priority attribute support is not there
> because no volunteer has contributed it.
I recall seeing code implementing init_priority. It was apparently incorrect
or incomplete or redundant; I distinctly recall seeing a patch go through
that removed it.
--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
- Brian W. Kernighan