Hi!

15-Апр-2006 19:27 [EMAIL PROTECTED] (Blair Campbell) wrote to
freedos-user@lists.sourceforge.net:

>> >> I tried compiling my code with Watcom. I got extremely strange behaviour -
>> >> the compiler planted stack checking calls, and the stack checks were

     Also as (most) other compilers do by default.

>> >> *convinced* I needed vast amounts of stack space to proceed with even the >> >> first function call out of main(). (I make very little use of the stack.)

     May you explain, what you mean by "convinced"?

BC> That's because OpenWatcom's default calling convention uses the stack
BC> to pass arguments.

     Wrong - default is register calling convention.

BC> To change the default calling convention to, say,
BC> something like __cdecl, there should be a compiler option.

     There is - see -ec options description.


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to