From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5788 invoked by alias); 19 May 2011 00:10:30 -0000 Received: (qmail 5780 invoked by uid 22791); 19 May 2011 00:10:29 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SARE_SUB_PCT_LETTER,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-fx0-f41.google.com (HELO mail-fx0-f41.google.com) (209.85.161.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 00:10:15 +0000 Received: by fxm18 with SMTP id 18so2010315fxm.0 for ; Wed, 18 May 2011 17:10:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.14.139 with SMTP id g11mr3070289faa.103.1305763813720; Wed, 18 May 2011 17:10:13 -0700 (PDT) Received: by 10.223.86.4 with HTTP; Wed, 18 May 2011 17:10:13 -0700 (PDT) In-Reply-To: <20110518233336.GR20800@bubble.grove.modra.org> References: <20110518154757.GQ20800@bubble.grove.modra.org> <20110518233336.GR20800@bubble.grove.modra.org> Date: Thu, 19 May 2011 00:10:00 -0000 Message-ID: Subject: Re: ld error message %C format From: Jason Duerstock To: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00278.txt.bz2 Hadn't seen that one before. Thank you for the explanation. Jason On Wed, May 18, 2011 at 7:33 PM, Alan Modra wrote: > On Wed, May 18, 2011 at 12:03:42PM -0400, Jason Duerstock wrote: >> >+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fprintf (fp, "%u%s", linenumb= er, ":" + done); >> >> Isn't this a C++ism? =A0Shouldn't it be: > > No, just an old C trick. =A0":"+done is either ":" or "". > > -- > Alan Modra > Australia Development Lab, IBM >