From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ced04d0f82bf1abe X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!newsfeed.stanford.edu!sn-xt-sjc-02!sn-xt-sjc-09!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail From: "Phaedrus" Newsgroups: comp.lang.ada Subject: Re: Missing CR/LF in Gnat files? Date: Sat, 15 Sep 2007 16:25:49 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <13eoqg17ac9kp58@corp.supernews.com> References: <13eomjrhjs3al0a@corp.supernews.com> <1189897537.544300.214650@g4g2000hsf.googlegroups.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-Complaints-To: abuse@supernews.com Xref: g2news2.google.com comp.lang.ada:1949 Date: 2007-09-15T16:25:49-07:00 List-Id: 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 wrote in message news:1189897537.544300.214650@g4g2000hsf.googlegroups.com... > On Sep 15, 5:19 pm, "Phaedrus" 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 >