Hi Dave and Tim
1. Output from od -tx1 test.c ---------------------BEGIN------------------------------- 0000000 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 69 6f 2e 0000020 68 3e 0a 0a 69 6e 74 20 6d 61 69 6e 28 29 0a 20 0000040 7b 0a 70 72 69 6e 74 66 28 a8 54 65 73 74 20 74 0000060 68 69 73 a8 29 3b 0a 72 65 74 75 72 6e 28 30 29 0000100 3b 0a 20 7d 0a 0000105 ---------------------END------------------------------- 2. Output from od- tx1 -a test.c ---------------------BEGIN------------------------------- 0000000 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 69 6f 2e # i n c l u d e sp < s t d i o . 0000020 68 3e 0a 0a 69 6e 74 20 6d 61 69 6e 28 29 0a 20 h > nl nl i n t sp m a i n ( ) nl sp 0000040 7b 0a 70 72 69 6e 74 66 28 a8 54 65 73 74 20 74 { nl p r i n t f ( ( T e s t sp t 0000060 68 69 73 a8 29 3b 0a 72 65 74 75 72 6e 28 30 29 h i s ( ) ; nl r e t u r n ( 0 ) 0000100 3b 0a 20 7d 0a ; nl sp } nl 0000105 ---------------------END------------------------------- Tim McDaniel-2 wrote: > > On Mon, 23 Feb 2009, Dave Korn <dave.korn.cyg...@googlemail.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, t...@panix.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-tp22145156p22185314.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/