WxWidgets 2.8.7 Borland fails compiling stc library
Chris Elliott
biol75 at york.ac.uk
Fri Feb 15 10:28:09 PST 2008
Hi, I've been reading this thread, and sorry to be busy and not replied.
Vadim worked hard to try and fix this error, but this is where you
need 5.8 (or 5.5.1)
chris
On 15 Feb 2008, at 18:18, M Nealon wrote:
> Hi all,
>
> Using BCB 6 personal bcc32 version 5.6.4, I am unable to build the
> stc component. The rest of the library builds fine.
>
> Error log follows.
>
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> if not exist bcc_msw mkdir bcc_msw
> bcc32 -q -c -P -obcc_msw\stclib_PlatWX.obj -IC:\PROGRA~1\Borland
> \CBUILD~1\Bin\..\include -v- -O2 -tWM -D__WXMSW__ -
> DwxNO_RTTI -I..\..\src\stc\..\..\..\lib\bcc_lib\msw -I..\..
> \src\stc\..\..\..\include -I..\..\src\stc\..\..\include -I..\..\src
> \stc\scintilla\include -I..\..\src\stc\scintilla\src -D__WX__ -
> DSCI_LEXER -DLINK_LEXERS -w-8027 -a8 -g0 ../../src/stc\PlatWX.cpp
> ../../src/stc\PlatWX.cpp:
> Error E2268 C:\PROGRA~1\Borland\CBUILD~1\Bin\..\include\stl/
> _threads.h 420: Call to undefined function 'InterlockedIncrement' in
> function _Refcount_Base::_M_incr()
> Error E2268 C:\PROGRA~1\Borland\CBUILD~1\Bin\..\include\stl/
> _threads.h 421: Call to undefined function 'InterlockedDecrement' in
> function _Refcount_Base::_M_decr()
> Error E2268 C:\PROGRA~1\Borland\CBUILD~1\Bin\..\include\stl/
> _threads.h 445: Call to undefined function 'InterlockedExchange' in
> function _Atomic_swap(volatile long *,long)
> Warning W8057 ../../src/stc\PlatWX.cpp 1438: Parameter 'format' is
> never used in function Platform::DebugPrintf(const char *,...)
> *** 3 errors in Compile ***
>
> ** error 1 ** deleting bcc_msw\stclib_PlatWX.obj
>
> This seeems to be pointing to an error in my distribution, however
> is this simply because I am using a somewhat older compiler or is
> there something else oing on?
>
> Best regards
> Mal
More information about the wx-users
mailing list