delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/12/17:18:38

From: brian AT brianb DOT u-net DOT com (Brian Barlow)
Newsgroups: comp.os.msdos.djgpp
Subject: Compilation problem
Date: Sat, 12 Jul 1997 13:48:25 GMT
Organization: U-NET Ltd
Lines: 29
Message-ID: <33c789d7.14193906@news.u-net.com>
NNTP-Posting-Host: p28.ascend2.is2.bb.u-net.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.


--
Brian Barlow

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019