[C++ PATCH] Fix 21280

Nathan Sidwell nathan@codesourcery.com
Thu Jun 2 20:03:00 GMT 2005


DJ Delorie wrote:
> Nathan Sidwell <nathan@codesourcery.com> writes:
> 
>>When tweaking the patch so it applied to mainline, I realised the new
>>error message should really be a warning.  So this is how I've amended
>>the 4.0 branch.
>>
>>    if (error_count != errorcount || warning_count != warningcount)
>>!     warning ("%Hsynthesized method %qD first required here ",
>>! 	     &input_location, fndecl);
> 
> 
> Note that this doesn't compile on mainline.
arg!

it does with this,

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 21280c.patch
Type: text/x-patch
Size: 784 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050602/756db90b/attachment.bin>


More information about the Gcc-patches mailing list