delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/05/10:22:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs
Date: Fri, 5 Dec 2003 09:22:41 -0600 (CST)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT eos
To: kumarchi AT comcast DOT net
cc: cygwin AT cygwin DOT com
Subject: RE: bug in gcc3.3.1
In-Reply-To: <F0D7281DAB048B438E8F5EC4ECEFBDDC24F48E@esmail.elsag.de>
Message-ID: <Pine.GSO.4.58.0312050918260.28297@eos>
References: <F0D7281DAB048B438E8F5EC4ECEFBDDC24F48E AT esmail DOT elsag DOT de>
MIME-Version: 1.0
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id hB5FMq7T006776

On Fri, 5 Dec 2003, Jörg Schaible wrote:
> Brian Ford wrote on Thursday, December 04, 2003 10:47 PM:
> > On Thu, 4 Dec 2003, Jörg Schaible wrote:
> >> kumarchi AT comcast DOT net wrote on Thursday, December 04, 2003 2:38 PM:
> >>> what was the reason for dropping the support?
> >>> ( I have to now fix few lines of code!!)
> >>>
> >> It is not ANSI compatible and therefore not portable.
> >>
> > In case you didn't know, ANSI defined string literal concatination:
> >
> > "This is "
> > 	"one sentence."
> >
> > is the same as:
> >
> > "This is one sentence."
> >
> But the poster refers:
>
> printf (" ......
>          xxx ", ..)
>
> This is not ANSI!
>
> In case you did not know ...
>
<OT>
I did.

The "you" above was meant to refer to the poster.  I just thought no one
had offered him a simple standard compliant alternative.

"This is not ANSI!" is good to know, but "This is ANSI and does the same
thing." is usually better.
<\OT>

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019