Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preprocessor errors in VFP7
Message
De
08/08/2001 12:32:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00541077
Message ID:
00541355
Vues:
16
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform