X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49A29E64.4060300@gmail.com> Date: Mon, 23 Feb 2009 13:02:28 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gcc compile problem: error: stray \168 in program References: <22145156 DOT post AT talk DOT nabble DOT com> <22156979 DOT post AT talk DOT nabble DOT com> In-Reply-To: <22156979.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com grip wrote: > Hi > >> Don't use Microsoft Word to write C source files? The real question is, >> how > > :) No, not using Word !! :) I didn't think it was very likely really! >> did the file get to be that way in the first place? Do you have an >> unusual keyboard layout/mapping? > > I have a Sun Keyboard. As in off of a Solaris system? That is a little unusual. I've got one lying around myself, if need be I could plug it in and see if I can reproduce the problem. > And I did not do any keyboard mapping. > > Some logs when I start XWin below: > > - "English-USA, INternational (20409) > - type="4 > - Model=pc105, > - Layout=us_intl > > Did receive a warning while starting Xwin though > > ------------ > The KKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type " ONE LEVEL" has 1 levels, but has 2 symbols > Ignoring extra symbols > ------------- > > I dont know if this is related to this... 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. 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. Also, does the same happen if you use the ordinary (cmd.exe-style) DOS console instead of an X-based GUI console? cheers, DaveK -- 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/