dllexport and inline

Nathan Sidwell nathan@codesourcery.com
Thu May 28 15:15:00 GMT 2009


Dave Korn wrote:
> Nathan Sidwell wrote:
>> I've committed this patch from Mark, after porting it from our stable
>> 4.3 branch.  the issue here is that functions marked dllexport must be
>> emitted, even if they are (also) inline.
>>
>> tested on i686-mingw32
>>
>> nathan
> 
>   Looks like this caused the problem being discussed at:
> 
> http://gcc.gnu.org/ml/gcc-patches/2009-05/threads.html#01793
> 
>   Could you and/or Mark cast a quick glance over the proposed solution in
> 
> http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01796.html
> 
> when you have a moment and tell us if it's the right thing to do?  I think
> it's fairly obvious.

Yes adding the additional check looks right.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery



More information about the Gcc-patches mailing list