Boost logo

Boost :

From: Reid Sweatman (reids_at_[hidden])
Date: 1999-08-23 13:13:54


I had occasion over the weekend to have to deal with a file that had
obviously been edited in both UNIX and DOS editors over the years.
MultiEdit displayed garbage when opening in Windows default mode, and a
mostly clean file with some boxes in place of LF when opened in UNIX mode.
Strangely, the VC++ editor opened it with no problems (now there's a
surprise). So I'm going to have to say it ain't standard yet <g>.

> -----Original Message-----
> From: Thomas Plum [mailto:tplum_at_[hidden]]
> Sent: Friday, August 20, 1999 5:48 PM
> To: boost_at_[hidden]
> Subject: [boost] Re: smart_ptr.hpp newline problem
>
>
> The Java spec spent one sentence assuring programmers that
> CR, CR-LF, and LF
> are all acceptable line terminators. Is that supposed to be
> rocket science
> or something? Now I wish I'd raised the point during the C++
> deliberations,
> somehow I assumed it would be so obvious in today's networked
> environment
> that the standard wouldn't have to say it.
>
> I guess we could sometime ask as a DR "Is there anything in the core
> language that _prevents_ vendors from accepting CR, CR-LF, and LF all
> as _newline_?"
>
>
> At 12:21 AM 8/20/99 -0700, you wrote:
> >pete-_at_[hidden] wrote:
> >original article:http://www.egroups.com/group/boost/?start=603
> >> > I don't know about Windows compilers accepting Unix
> >> > conventions. The only Mac compiler (ie CodeWarrior)
> >> > certainly accepts unconverted Unix files.
> >>
> >
> >The MS compiler handles UNIX files, as does the IDE editor
> except that any
> >line you add to the file get CR/LF instead of NL (i.e. most
> of the file is
> >just NL with the bits you added CR/LF)! They still compile
> with MS but some
> >UNIX compilers balk and it really messes up source control.
> >
> >
> >-------------------------------------------------------------
> -----------
> ><a target="egnewwin" href="http://clickhere.egroups.com/click/718">
> ><center>
> ><img width="468" height="60" border="0"
> > src="http://clickhere.egroups.com/img/000718/small.gif"
> > alt="click here"><BR>
> ></center>
> ><center>
> >Click Here!
> ></center>
> ></a>
> >
> >
> >eGroups.com home: http://www.egroups.com/group/boost
> >http://www.egroups.com - Simplifying group communications
> >
>
> --------------------------------------------------------------
> ---------+
>
> Thomas Plum Plum Hall Inc, 3 Waihona Box 44610, Kamuela
> HI 96743 USA
> tplum_at_[hidden] TEL +1-808-882-1255 FAX
> +1-808-882-1556
>
http://www.PlumHall.com

------------------------------------------------------------------------
Just Tell Us What You Want...
Respond.com - Shopping the World for You!
http://clickhere.egroups.com/click/738

eGroups.com home: http://www.egroups.com/group/boost
http://www.egroups.com - Simplifying group communications


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk