From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compilation problem Date: Sat, 12 Jul 1997 11:09:19 -0400 Organization: Cornell University http://www.cornell.edu Lines: 53 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33C79E1F.3D94@cornell.edu> References: <33c789d7 DOT 14193906 AT news DOT u-net DOT com> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0048.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit Precedence: bulk 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. how did you enter that character? when i cut&paste your message into dos edit, i got a graphic character. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************