Page 1 of 1

Error in #define (grid.prg HMG4)

Posted: Mon Dec 06, 2010 4:33 pm
by dtoledo
Hi, my friends:

As every monday i downloaded hmg4 from svn and when compiled it, i noticed that there are
warnings in the model GRID.PRG. The warning are in this portion of code

Code: Select all

//  Why not these are hmg.ch ?
#define GRID_JTFY_LEFT   0
#define GRID_JTFY_RIGHT  1
#define GRID_JTFY_CENTER 2
These constant are already defined in HMG.CH, then i tried to correct it in my local copy of hmg4, but are conflicted. That is because are defined in terms of LBL_LEFT, LBL_CENTER and LBL_RIGHT, that results in different values.

I hope that you understand that i try to say, because my english is not so good. ;)

Regards from Chile.

Dagoberto Toledo
(Dago)

Re: Error in #define (grid.prg HMG4)

Posted: Mon Dec 06, 2010 11:31 pm
by Carlos Britos
dtoledo wrote:Hi, my friends:

As every monday i downloaded hmg4 from svn and when compiled it, i noticed that there are
warnings in the model GRID.PRG. The warning are in this portion of code

Code: Select all

//  Why not these are hmg.ch ?
#define GRID_JTFY_LEFT   0
#define GRID_JTFY_RIGHT  1
#define GRID_JTFY_CENTER 2
These constant are already defined in HMG.CH, then i tried to correct it in my local copy of hmg4, but are conflicted. That is because are defined in terms of LBL_LEFT, LBL_CENTER and LBL_RIGHT, that results in different values.

I hope that you understand that i try to say, because my english is not so good. ;)

Regards from Chile.

Dagoberto Toledo
(Dago)
Thanks for report. ASAP will be fixed