[Patch]: Fix [Bug c++/34749]: Incorrect warning when applying dllimport to friend function

Mark Mitchell mark@codesourcery.com
Tue Feb 19 03:03:00 GMT 2008


Danny Smith wrote:

> ChangeLog
> 
> 2008-01-19   Danny Smith  <dannysmith@users.sourceforge.net>
> cp
> 	PR c++/34749
> 	* friend.c (do_friend): Call cplus_decl_attributes earlier.
> 
> testsuite
> 	PR c++/34749
> 	* g++.dg.ext/dllimport13.C: New test.

OK for 4.3 and 4.4.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list