error compiling 2

error compiling 2

Postby richard wilson » Tue Nov 06, 2007 2: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
Last edited by richard wilson on Tue Nov 06, 2007 6:05 pm, edited 1 time in total.
richard wilson
 
Posts: 38
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

Postby Antonio Linares » Tue Nov 06, 2007 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

compille error 2

Postby richard wilson » Wed Nov 07, 2007 1:55 pm

I try it with #define clipper501 and it makes many c2001 error syntax error
richard wilson
 
Posts: 38
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

Postby Antonio Linares » Wed Nov 07, 2007 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

compil error 3

Postby richard wilson » Thu Nov 08, 2007 3: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.
richard wilson
 
Posts: 38
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

Postby Antonio Linares » Thu Nov 08, 2007 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 5 guests