comp.lang.ada
 help / color / mirror / Atom feed
From: "Phaedrus" <phaedrusalt@hotmail.com>
Subject: Re: Missing CR/LF in Gnat files?
Date: Sat, 15 Sep 2007 16:25:49 -0700
Date: 2007-09-15T16:25:49-07:00	[thread overview]
Message-ID: <13eoqg17ac9kp58@corp.supernews.com> (raw)
In-Reply-To: 1189897537.544300.214650@g4g2000hsf.googlegroups.com

I have to assume (Yeah, I know what they say about "assume"!) that it's not 
a question of the editor.  I'm using Adagide, and most of the files in 
Gnat\bindings\Win32Ada are just fine.  But a few have this problem, and it's 
getting to be a pain...  I've tried using unix2dos to see if it's a CR/LF 
problem, but no dice.  I've had this problem before with Gnat, and currently 
I've got the same problem on two machines.  That leads me to the conclusion 
that it's a problem with the Win32 distribution.  Anyway, I seem to remember 
a fix for this, possibly an obscure flag with gnatchop or something. 
Anybody remember anything like that?

Brian

<Sloan.Kohler@gmail.com> wrote in message 
news:1189897537.544300.214650@g4g2000hsf.googlegroups.com...
> On Sep 15, 5:19 pm, "Phaedrus" <phaedrus...@hotmail.com> wrote:
>> Sorry to eat bandwidth with a silly question, but has anyone else had a
>> problem with the Gnat install where files in Gnat\bindings\Win32Ada are
>> missing carriage returns and/or linefeeds?  Seems like I've run into this
>> problem before, but I can't seem to remember how to fix the files...  It
>> sure is a pain to try to find anything in win32-winbase.ads when the file 
>> is
>> one looooooong line!!!
>>
>> Thanks in advance!
>> Brian
>
> What editor are you using to look at the files?  The GNAT source files
> may have UNIX line terminations (LF only, not CR/LF) and simple
> editors like Notepad won't display them correctly.
>
> -- Sloan
> 





  reply	other threads:[~2007-09-15 23:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-15 22:19 Missing CR/LF in Gnat files? Phaedrus
2007-09-15 23:05 ` Sloan.Kohler
2007-09-15 23:25   ` Phaedrus [this message]
2007-09-16  5:16     ` Gautier
2007-09-16 18:38       ` Jeffrey R. Carter
2007-09-16 22:15         ` Phaedrus
2007-09-16 23:00 ` anon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox