Aitor Santamaría wrote: > Being used to BC, I'm experimenting with OpenWatcom, and before
What OW version? What memory model? > Apparently, OW doesn't seem to like when I do use it's own MK_FP > (which is the same as in kernel's portab.h, with :> ) and I do, for > example > > char far *myvar = MK_FP(0x40,0x55); > > the error is: > > Error! E1054: Expression must be constant Did you try something like this? *** #include <i86.h> char far *myvar = MK_FP(0x40, 0x55); void main() { } *** Maybe you can use this. *** #include <i86.h> void main() { char far *myvar = MK_FP(0x40, 0x55); } *** see http://www.ousob.com/ng/wclr/ngfcefb.php Robert Riebisch -- BTTR Software http://www.bttr-software.de/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel