dor@beach.cis.ufl.edu (A Knight in White Satin) (01/16/91)
Sigh. We've been upgrading from normal Turbo C to the new Turbo C++ with a LARGE program (can you say overlays?) a step at a time. At this point, all of our previous code has been "tweaked" to compile under C++ rules, which it does just fine. No runs, drips, errors or warnings. However, it gets about 3 steps into the program and crashes mightily with a "Stack Overflow" error. (we are compiling with the -N stack checking flag) The problem with this? There is apparently 53K worth of stack left before the offending function call...and it certainly shouldn't be trying to push THAT much onto the stack, should it? void resetmouse() is the function name. No parameters, no returns. No excessively large local variables. (Local vars go on the stack, right?) Borland Tech Support is trying to blame it on a (third-party) library that we are linking in, but we aren't calling anything from that library at the time of the crash! Any help at all with this perplexing problem would be greatly appreciated. Thanks! Doug Oosting -- D.R. Oosting, Univ. of Florida | "Make way for DUCK KONG, all you dor@ufl.edu | expendable extras!!" Cypress School, Cuong Nhu Karate | - Plucky Duck ska Cadrys ap Dulas o Caeriera, Barony of An Crosaire, Trimaris