parse error in CS

Paul Garceau
Wed Sep 9 02:55:00 GMT 1998


	I've attempted to compile CS a couple of different ways for Gnu-Win32 
port.  Both compiles aborted (make mz) with the following error:

	render/graph3d.cpp in method 'csGraphics3d::csGraphics3d(int, char **):
	render/graph3d.cpp:91:parse error before '('

	After checking the line here is what I found:

line 89 follows:
csGraphics3D::csGraphics3D (int argc, char* argv[])
(line 91: the next line has parse error)
  CHK (Graph2D = new SysGraphics2D(argc, argv)); 

  z_buffer = NULL;
  z_buf_mode = ZBuf_None;
  cache = NULL;

	Not sure what CHK is, but it appears to check the memory; added an if 
defined to #include "utiil/memory.h", but error didn't go away.  CHK appears 
to be causing the error.

	I am forcing software rendering by using an #if defined(__MINGW32__) 
to ignore #include "win32/win32.h" in "system/system.h" since the current 
implementation of Win32 assumes that if "OS_WIN32" is enabled then so is 
D3D; D3D doesn't work under Gnu-Win32(egcs-mingw32).

	Can someone enlighten me on what the CHK function is?

	Thanks for your replies.


		Paul G.

Information Systems Consultant
NewDawn Productions
For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list