RE: Windows build error with msvc7

From: Andrew Venier (avenier@venier.net)
Date: Sun Apr 07 2002 - 14:54:47 EDT

  • Next message: Rui Miguel Silva Seabra: "Re: Binaries????"

    Possibly relevant? Bug in msvc6; tests give same results for msvc7 (so
    it appears compiler bug is not fixed for vc7). MS Q243351
    http://support.microsoft.com/default.aspx?scid=kb;en-us;Q243351

    Note: There is a workaround suggested in the article -- perhaps it could
    get this working for vc6/7?

    -----Original Message-----
    From: owner-abiword-dev@abisource.com
    [mailto:owner-abiword-dev@abisource.com] On Behalf Of Andrew Venier
    Sent: Sunday, April 07, 2002 12:21 PM
    To: abiword-dev@abisource.com
    Subject: Windows build error with msvc7

    Building with msvc7, build halts with the following error:

    ut_Win32Timer.cpp(163) : error C2248: 'UT_Timer::static_vecTimers' :
    cannot access private member declared in class 'UT_ Timer'
            d:/abi\abi\src\af\util\xp\ut_timer.h(69) : see declaration of
    'UT_Timer::static_vecTimers'
            d:/abi\abi\src\af\util\xp\ut_timer.h(38) : see declaration of
    'UT_Timer'

    Since I don't have access to msvc5 or msvc6 right now, can someone tell
    me: did those compilers let this pass? Is this an compiler bug or a
    coding error? Could someone who knows this area of the source a bit
    take a look at this?

    P.S. These files had some recent changes, so I backed of to
    release-0-99-3 version of these files, but got the same error.



    This archive was generated by hypermail 2.1.4 : Sun Apr 07 2002 - 19:55:09 EDT