|
Boost : |
From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-08-19 08:11:45
Reid Sweatman wrote:
> Pardon the ignorant question, but it's been some years since I last worked
> on a UNIX system, so I was wondering whether UNIX' endline convention is
> universally accepted by, say (for the sake of argument <g>), Windows-hosted
> C++ compilers, or whether non-UNIX people will have to do a search and
> replace on endline markers. Thanks.
There are three conventions:
- Unix
- DOS
- Macintosh
On Unix and Mac there are conversion tools. I guess
there are such tools for Windows too.
gcc usually accepts the DOS convention (with
many warnings using -pedantic), but here it's
a special case where it causes an error.
I don't know about Windows compilers accepting Unix
conventions. The only Mac compiler (ie CodeWarrior)
certainly accepts unconverted Unix files.
-- Valentin Bonnard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk