[Lazarus] Are lazarus / fpc sensitive to line endings?

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sat Oct 17 00:10:54 CEST 2015


Mattias Gaertner wrote:
> On Fri, 16 Oct 2015 21:45:07 +0200
> Bo Berglund <bo.berglund at gmail.com> wrote:

>> So is fpc and/or lazarus sensitive to line endings like shell scripts
>> are?
> 
> Lazarus and FPC happily read all three line endings.
> But when you write code on Linux, Linux line
> endings will be created.
> 
> This means you can share read-only sources, but the sources you edit
> on Linux and Windows should *not* be shared via a samba share.
> Checkout cvs/svn/git for each platform and let the version control
> system do the conversion for you.

Treading carefully... I don't think I saw a problem, even before I had 
local svn. However I agree that having a local svn (or whatever, if you 
really insist :-) is useful if you have more than one development machine.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list