> Date: Fri, 20 May 2005 16:46:38 +0100 > From: Jason Rumney <[EMAIL PROTECTED]> > CC: Juanma Barranquero <[EMAIL PROTECTED]>, emacs-devel@gnu.org > > Without looking at the disassembly, I'd guess that MinGW gcc and > non-optimised MSVC builds restore the stack pointer from a known > location regardless of the calling convention, which should always work. > > > >If we know this, we could fix the DEF_IMGLIB_FN macro so that it does > >TRT for both compilers, e.g., by using __MINGW__ condition. > > > > > I think TRT will not depend on __MINGW__. Mingw works despite there > being a bug, not because of it.
So you are saying that MinGW works simply because it doesn't optimize as well as MSVC, yes? That could be it, but I'd prefer that someone looks at the code produced by MinGW and see that it indeed doesn't restore the stack pointer, either. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel