This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: bug in gcc3.3.1


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@comcast.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]