Date: Mon, 14 Jul 1997 11:51:48 -0400 (EDT) From: "Art S. Kagel" To: Brian Barlow Cc: djgpp AT delorie DOT com Subject: Re: Compilation problem In-Reply-To: <33c789d7.14193906@news.u-net.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk On Sat, 12 Jul 1997, Brian Barlow wrote: > I've just installed the DJGPP compiler and the following program won't > compile. > > > int main (void) > { > > int c=0x50; > > c = c¦0x04; > > return 0; > > } > > The compiler reports : > > GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version > 2.7.2.1. > test.c: In function `main': > test.c:7: parse error before character 0335 > > > Does anyone know why this would be happnening. The 0335 character is > the | OR symbol. The | OR symbol should be char 0174 (0x7c)! That 0335 is an IBM graphic box drawing character that just looks like the keyboard vertical bar character! (Probably your windows font makes these difficult to distinguish, assuming you are running in a DOS box). Art S. Kagel, kagel AT bloomberg DOT com