FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper error compiling 2
Posts: 40
Joined: Sat Mar 04, 2006 03:32 PM
error compiling 2
Posted: Tue Nov 06, 2007 02:03 PM

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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
error compiling 2
Posted: Tue Nov 06, 2007 03:14 PM

Please add this line in your PRG before #include "FiveWin.ch":

define CLIPPER501

include "FiveWin.ch"

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 40
Joined: Sat Mar 04, 2006 03:32 PM
compille error 2
Posted: Wed Nov 07, 2007 01:55 PM

I try it with #define clipper501 and it makes many c2001 error syntax error

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
error compiling 2
Posted: Wed Nov 07, 2007 02:17 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 40
Joined: Sat Mar 04, 2006 03:32 PM
compil error 3
Posted: Thu Nov 08, 2007 03:36 PM

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.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
error compiling 2
Posted: Thu Nov 08, 2007 03:50 PM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion