Page 1 of 1

error compiling 2

Posted: Tue Nov 06, 2007 2:03 pm
by richard wilson
Software used : Clipper 5.3c, Blinker 4, Fw 7.1, Windows 98

When compiling this error occur : constant.ch (61) fatal c3048 preprocessor table overflow
How can l fix it

many tanks

I put #define clipper501 at first and l try to compile tget.prg (class). It give me a lots of
error c2001 syntax error. Like the name of method or ":"

many tanks

Posted: Tue Nov 06, 2007 3:14 pm
by Antonio Linares
Please add this line in your PRG before #include "FiveWin.ch":

#define CLIPPER501
#include "FiveWin.ch"

compille error 2

Posted: Wed Nov 07, 2007 1:55 pm
by richard wilson
I try it with #define clipper501 and it makes many c2001 error syntax error

Posted: Wed Nov 07, 2007 2:17 pm
by Antonio Linares
Richard,

If you review FiveWin.ch then you will see there are several #include ... inside it, and some of them may be removed if you don't use them.

Usually a #define CLIPPER501 is enough, but it seems as you are using some of them, thats why you get the errors.

Another solution is to compile using Clipper 5.2 as it has a larger preprocessor capability. And later on you link with 5.3 libraries. Its fine.

compil error 3

Posted: Thu Nov 08, 2007 3:36 pm
by richard wilson
With fw 2.1 l can compile tget, tcbrowse, windows and l never have those problems. When l
compile them l change nothing of the prg.

Posted: Thu Nov 08, 2007 3:50 pm
by Antonio Linares
Richard,

You don't have to modify your PRGs, just comment out some #includes that you may not be using from inside FiveWin.ch

FiveWin has grown and thats why Clipper preprocessor capability sometimes is not enough. Clipper 5.2 has more preprocessor capability than Clipper 5.3

Also, if you are using Clipper rmake.exe, it consumes memory that its not available for Clipper. We recommend using Borland maker.exe instead of rmake.exe as it frees all MsDos memory before calling Clipper.exe