This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Weak symbols and gcc3.1
- From: Richard Henderson <rth at redhat dot com>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>, "'tromey at redhat dot com'" <tromey at redhat dot com>
- Date: Mon, 8 Apr 2002 13:54:45 -0700
- Subject: Re: Weak symbols and gcc3.1
- References: <40700B4C02ABD5119F000090278766443BF189@hplex1.hpl.hp.com>
On Sun, Apr 07, 2002 at 04:28:48PM -0700, Boehm, Hans wrote:
> 1) Is this intentional?
No, but I can't think of how to fix it easily.
> 2) If so, how should the above code be rewritten?
Move the declaration of _DYNAMIC to file scope.
r~