Re: Comitted: Re: Patch: Fix MSVC build error in ie_imp_RTF.cpp

From: Mikey Cooper (mikey_at_bluey.com)
Date: Fri Apr 16 2004 - 21:27:03 EDT

  • Next message: Mikey Cooper: "Patch: Splash screen not centered/displayed properly on win32"

    Attached is an additional patch based on what we discussed. After free
    ()-ing the variable, it will now set the variable to NULL before moving
    on to the next attribute.

    On Fri, 2004-04-16 at 16:58 +1000, Martin Sevior wrote:
    >
    > CVS: wp/impexp/xp/ie_imp_RTF.cpp
    > Mikey's MSVC build fix.
    >
    > On Wed, 2004-04-14 at 14:48, Mikey Cooper wrote:
    > > In ie_imp_RTF.cpp, line 9759 reads "FREEP(const_cast<XML_Char*>(sz));" which
    > > generates "error C2106: '=' : left operand must be l-value" in MSVC (doesn't
    > > happen under MinGW). MSVC does not seem to like casting l-values, even if
    > > it's cast as a pointer.





    This archive was generated by hypermail 2.1.4 : Fri Apr 16 2004 - 21:30:59 EDT