Hi, The code you wrote does, but this does not:
#include <i86.h> char far *myvar = MK_FP(0x40, 0x55); void main() { } Aitor 2007/5/2, Robert Riebisch <[EMAIL PROTECTED]>: > Aitor Santamaría wrote: > > > Watcom 1.6, model Large. > > OK > > > > Maybe you can use this. > > > *** > > > #include <i86.h> > > > > > > void main() > > > { > > > char far *myvar = MK_FP(0x40, 0x55); > > > } > > > *** > > > > The problem appears both as a global or as a local var of a function. > > Are you sure? The code above compiles perfectly here with OW 1.6 ("wcl > -ml test.c"). > > > Thanks, however it doesn't help much, as in this example the MK_FP > > appears as an *assignation*, and not as an *initialisation*, as I'd > > wish. > > I think, this is not possible with OW, but I'm no OW guru. > > 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 > ------------------------------------------------------------------------- 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