www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/18/23:25:12

From: boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au (Gregary J Boyles)
Newsgroups: comp.os.msdos.djgpp
Subject: Curses macro clear vs ios function clear.
Date: 18 Feb 1997 08:32:56 GMT
Organization: Comp.Sci & Comp.Eng, La Trobe Uni, Australia
Lines: 14
Distribution: world
Message-ID: <5ebpfo$81u@lion.cs.latrobe.edu.au>
NNTP-Posting-Host: lion.cs.latrobe.edu.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

If I include curses.h and fstream.h (in the appropriate order to avoid the
"arguments passed to macro clear...") and I then try to call
fstream::clear() the compiler generates a parse error ".....parse error
before '('.....".
I tried undefining the macro clear and this worked except that in another
file the compiler generated another parse error "..... parse error before
'1'.....". Only problem is that at the line in the file indicated does not
contain the character '1'.
I am assuming that this is a result of undefining the macro.

Any suggestions?



- Raw text -


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