error compiling 2

Post Reply
richard wilson
Posts: 34
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

error compiling 2

Post 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
Last edited by richard wilson on Tue Nov 06, 2007 6:05 pm, edited 1 time in total.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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

#define CLIPPER501
#include "FiveWin.ch"
regards, saludos

Antonio Linares
www.fivetechsoft.com
richard wilson
Posts: 34
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

compille error 2

Post by richard wilson »

I try it with #define clipper501 and it makes many c2001 error syntax error
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
richard wilson
Posts: 34
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

compil error 3

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply