PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Andy Flowers on July 02, 2010, 02:12:36 PM

Title: FF3 Compilation Errors
Post by: Andy Flowers on July 02, 2010, 02:12:36 PM
I just finished converting a FF2 application to FF3. The conversion completed without any errors, however when I
attempt to compile the FF3 application I am getting the following errors. (see images attached)

The error in image 1 is using PB inc files.
The error in image 2 is using JR inc files.

I must add that the FF2 application is using SIGrid.

Any suggestions?
Title: Re: FF3 Compilation Errors
Post by: José Roca on July 02, 2010, 03:12:29 PM
Quote
The error in image 2 is using JR inc files.

Somebody in one of the files you're using has declared:

MACRO PSTR = TSTR PTR

Suggestion?

Don't use macros this way. It is a can of worms.
Title: Re: FF3 Compilation Errors
Post by: Andy Flowers on July 05, 2010, 02:11:51 PM
I was able to compile successfully using PB Inc files but no success using JR Inc files. Still getting the error in the image above.
Title: Re: FF3 Compilation Errors
Post by: José Roca on July 05, 2010, 02:32:04 PM
See explanation above.
Title: Re: FF3 Compilation Errors
Post by: Paul Squires on July 05, 2010, 07:58:38 PM
I don't know where that "MACRO PSTR = TSTR PTR" line is coming from. I searched all of FF3's files and all of Jose's files and there is no sign of it. Maybe it is included in one of your source code modules? FF3 does not use any macro expansion.
Title: Re: FF3 Compilation Errors
Post by: José Roca on July 05, 2010, 08:36:53 PM
One good candidate is Kev Peel's PrpT control.

See reply #8 in this thread: http://www.planetsquires.com/protect/forum/index.php?topic=2568.msg19600#msg19600

Using macros this way with PB is a very bad practice.