[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] upgrading to wx-2.9.3
From: |
Greg Chicares |
Subject: |
Re: [lmi] upgrading to wx-2.9.3 |
Date: |
Thu, 15 Dec 2011 22:06:07 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
On 2011-12-15 21:15Z, Vadim Zeitlin wrote:
> On Thu, 15 Dec 2011 18:31:31 +0000 Greg Chicares <address@hidden> wrote:
[...]
> GC> ../src/common/stopwatch.cpp:67: error: `wxCriticalSection' does not name
> a type
[...]
> It's a compilation problem with wxUSE_THREADS==0 that I've somehow
> forgotten to check. The fix is simple enough and I checked it in as
> wxWidgets r70012 (http://trac.wxwidgets.org/changeset/70012) but this is
> broken in 2.9.3 and can't be worked around otherwise than by removing the
> --disable-threads configure option (and the corresponding check for
> wxUSE_THREADS in wx_checks.cpp).
Suppose I patch the wx sources as in r70012 before building--would
that be another effective workaround? It's only a three-line change,
and the wxCRIT_SECT_DECLARE_MEMBER and wxCRIT_SECT_LOCKER macros
seem to be defined in wx/thread.h already.