Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preprocessor errors in VFP7
Message
From
08/08/2001 12:32:04
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00541077
Message ID:
00541355
Views:
22
Cathi-

>The code is from the Mere Mortals Framework classes.

Didn't realize it's a Mere Mortals Framework.

> The #DEFINE is in a header file that is being "INCLUDE(d) from another header file. I didn't make any changes and in VFP 6 it compiles just fine but in VFP 7 it gives these errors.

Right. Gotcha that it's a difference in compilation between versions. I haven't had the *pleasure* of this particular issue. But was just trying to sort out the details so we could try and get to the why part.

Anyway, I'd have to try and duplicate it myself. Maybe someone else has run up against it. But til then...Do I understand correctly? (Names below are just for example.)
*!* Defines.H
#DEFINE VFP_VERSION "6" && Just for example

*!* MyProject.H
#INCLUDE C:\MyProject\Defines.H

*!* MyProgram.PRG
#INCLUDE MyProject.H
#IF VFP_VERSION = "6"
etc.
Is it safe to assume you're doing a RECOMPILE ALL?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform