Re: [Freedos-kernel] #pragma in UNSTABLE breaks compilation with OpenWatcom 1.2
#pragma aux default parm [ax dx cx] modify [ax dx es fs] Thanks, Eduardo - Jeremy already noted these errors on CPU < 386 this and today I fixed it in the CVS by applying it only for an 80386. The pragma was suggested by Bart. I don't understand how it works but it does decrease kernel size significantly. Regards, Lucho --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
[Freedos-kernel] #pragma in UNSTABLE breaks compilation with OpenWatcom 1.2
Hi! This is the offending line: portab.h, line 127: #pragma aux default parm [ax dx cx] modify [ax dx es fs] /* min.unpacked size */ And this is the error message: c:\wc\binw\wcc @wc.cfg -Ic:\wc\h -DWITHFAT32 dsk.c DOS/4GW Protected Mode Run-time Version 1.97 Copyright (c) Rational Systems, Inc. 1990-1994 dsk.c(92): Error! E1122: Illegal register modified by 'getddt' #pragma dsk.c(101): Error! E1122: Illegal register modified by 'tdelay' #pragma dsk.c(173): Error! E1122: Illegal register modified by '.F' #pragma dsk.c(173): Error! E1122: Illegal register modified by 'getddt' #pragma dsk.c(182): Error! E1122: Illegal register modified by 'play_dj' #pragma dsk.c(198): Error! E1147: Too many errors: compilation aborted Error(E42): Last command making (dsk.obj) returned a bad status Eduardo. --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel