ld error message %C format

Jason Duerstock jason.duerstock@gmail.com
Thu May 19 00:10:00 GMT 2011


Hadn't seen that one before.  Thank you for the explanation.

Jason

On Wed, May 18, 2011 at 7:33 PM, Alan Modra <amodra@gmail.com> wrote:
> 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