Hi there, Being used to BC, I'm experimenting with OpenWatcom, and before subscribing to new mailling lists and asking obvious question, I'd like if someone can share some expertise:
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 which is rare, as for other operators (such as +) it seems to work, so why wouldn't it with :> I have redefined MK_FP as (void *)((unsigned long)((unsigned short)(seg)*0x100)+((unsigned short)ofs)) this time, * and + do not trouble me (<< gives a warning: shift amount too large), but I wonder if I'm doing right, or how you folks have come round this problem, if you actually have. Aitor ------------------------------------------------------------------------- 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