ld error message %C format

Alan Modra amodra@gmail.com
Wed May 18 23:33:00 GMT 2011


On Wed, May 18, 2011 at 12:03:42PM -0400, Jason Duerstock wrote:
> >+                     fprintf (fp, "%u%s", linenumber, ":" + done);
> 
> Isn't this a C++ism?  Shouldn't it be:

No, just an old C trick.  ":"+done is either ":" or "".

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list