delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/24/12:27:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG
X-Spam-Check-By: sourceware.org
Message-ID: <22186369.post@talk.nabble.com>
Date: Tue, 24 Feb 2009 09:26:49 -0800 (PST)
From: grip <Chandramohan DOT USecure AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gcc compile problem: error: stray \168 in program
In-Reply-To: <Pine.NEB.4.64.0902230943420.25957@panix1.panix.com>
MIME-Version: 1.0
References: <22145156 DOT post AT talk DOT nabble DOT com> <22156979 DOT post AT talk DOT nabble DOT com> <49A29E64 DOT 4060300 AT gmail DOT com> <Pine DOT NEB DOT 4 DOT 64 DOT 0902230943420 DOT 25957 AT panix1 DOT panix DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ok here are more clues and I think this should help you:


1. From the command prompt from windows, I tried this
    - od -tx1 <ENTER>
    - "<ENTER> (Note:  I have to  type double  quotes  twice always and  I 
get two double quotes. I   
                      use backspace to remove one every time. A single
double quotes produces no output on 
                      the  screen )
    -<CTRL-D>

-------------BEGIN------------ 
0000000 22 0a
0000002
-------------END------------ 




2.From xterm
  Now I cannot  get to type the double quotes at  all. Also within vi in
xterm.


  From windows command prompt, the double quotes gets printed as explained
in 1 above (have to type it twice to get 2 "s , use backspace to delete one
to finally get 1 " , as explained above. )

 I closed everything and launched xterm again and still I cant get to  type
the " in xterm or vi within xterm.


Hope these inputs help you

CHeers
CM


  
  

Tim McDaniel-2 wrote:
> 
> On Mon, 23 Feb 2009, Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> wrote:
>>  Nor do I, but let's see what's in that file: can you show us the
>> output you get from running "od -tx1 test.c" on your testcase
>> please, and tell us exactly what editor you used.
> 
> I personally prefer "od -tx1 -a test.c": it should add ASCII versions
> of each character, to make it faster to find particular positions.
> 
>> Also, type "od -tx1" at a command line without any filename
>> following it, type a quote mark, then press enter, then Ctrl+D, and
>> show us what that says.
> 
> Being ultra-precise: type
>      od -tx1
> 
> at a command line, and then press enter.  That will start the "octal
> dump" program.  The quote mark (meaning ") and enter is the one line
> of input.
> 
> -- 
> Tim McDaniel, tmcd AT panix DOT com
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/gcc-compile-problem%3A-error%3A-stray-%5C168-in-program-tp22145156p22186369.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019