[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with library images on Windows (again)

From: Eli Zaretskii
Subject: Re: Problem with library images on Windows (again)
Date: Fri, 20 May 2005 18:52:00 +0300

> Date: Fri, 20 May 2005 16:46:38 +0100
> From: Jason Rumney <address@hidden>
> CC: Juanma Barranquero <address@hidden>,  address@hidden
> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]