From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Compilation problem Date: 13 Jul 1997 21:41:37 GMT Organization: Oxford University, England Lines: 39 Message-ID: <5qbi2h$dls@news.ox.ac.uk> References: <33c789d7 DOT 14193906 AT news DOT u-net DOT com> <33C79E1F DOT 3D94 AT cornell DOT edu> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk A. Sinan Unur (asu1 AT cornell DOT edu) wrote: : Brian Barlow wrote: : > = : > I've just installed the DJGPP compiler and the following program won't : > compile. : > = : > int main (void) : > { : > = : > int c=3D0x50; : > = : > c =3D c=A60x04; : > = : > return 0; : > = : > } : > = : > 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. I can't say for sure, since this terminal doesn't display the character in question, but sometimes under Windows 95 the pipe characters get muddled up; it depends on the keyboard layout. In RHIDE, the correct | character will be highlighted in a different colour (white I believe) from the normal text colour (yellow IIRC). With my keyboard layout, shift-\ gives the wrong character (although it's right on the keyboard) and AltGr-` (left of the 1 key) gives the correct symbol. Try it and see. This is a UK keyboard BTW. I think changing the codepage might help, too. -- George Foot Merton College, Oxford