* [EMAIL PROTECTED] (Curt Olson) [2002.05.17 08:43]:
> Cameron Moore writes:
> > * [EMAIL PROTECTED] (Curtis L. Olson) [2002.05.16 23:06]:
> > > Update of /var/cvs/FlightGear-0.7/FlightGear/src/Main
> > > In directory seneca:/tmp/cvs-serv26528/src/Main
> > >
> > > Modified Files:
> > > options.cxx
> > > Log Message:
> > > Bernie Bright:
> > > To make MSVC happy it appears we need backslashes on string literals
> > > spanning multiple lines.
> > <snip/>
> >
> > Can we get a second opinion on the changes in this file? Why on earth
> > does MSVC bark about this:
> >
> > cout << "say" << endl
> > << "what?!" << endl;
> >
> > I can understand this being a problem:
> >
> > cout << "say
> > what?!
> > ";
> >
> > because of the linefeeds possibly being unix linefeeds, but how is the
> > first example broken? I'm baffled...
>
> The first example wasn't broken.
Then I'd like to request that we revert the changes to
options.cxx:fgUsage(). Is this:
cout << "say" << endl
<< "what?!" << endl;
worse than this?:
cout << "say\n\
what?!\n";
Far be it from me to argue with Bernie about anything C++, but I prefer
to use the syntax we had before. I could be biased though since I wrote
the previous version. :-)
--
Cameron Moore
[ Perl is the Cliff Notes of Unix. -- Larry Wall ]
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel