Hi all,

 

I have some problems compiling Boost for Windows CE (with STLport).

 

I get the following compile error when I try to build the signals library:

 

...updating 16 targets...

compile-c-c++ bin.v2\libs\signals\build\msvc-9.0~wm5~stlport\release\link-static\stdlib-stlport\threading-multi\trackable.obj

trackable.cpp

C:\Program Files\Windows CE Tools\wce600\TestDCOM\include\ARMV4I\../Armv4i/new(59) : error C2375: 'operator new' : redefinition; different linkage

        predefined C++ types (compiler internal)(23) : see declaration of 'operator new'

C:\Program Files\Windows CE Tools\wce600\TestDCOM\include\ARMV4I\../Armv4i/new(65) : error C2375: 'operator delete' : redefinition; different linkage

        predefined C++ types (compiler internal)(24) : see declaration of 'operator delete'

C:\build\STLport\stlport-mainline\stlport\stl/_new.h(134) : error C2264: 'operator new' : error in function definition or declaration; function not called

C:\build\STLport\stlport-mainline\stlport\stl/_new.h(135) : error C2264: 'operator delete' : error in function definition or declaration; function not called

libs\signals\src\trackable.cpp(30) : error C2264: 'operator delete' : error in function definition or declaration; function not called

libs\signals\src\trackable.cpp(45) : error C2264: 'operator new' : error in function definition or declaration; function not called

 

 

Does anyone have an idea what I am doing wrong?

 

Bjam commando: "bjam.exe" --prefix=c:\build\out --with-signals define=_HAS_ITERATOR_DEBUGGING=0 define=_SECURE_SCL=0 link=static runtime-link=static,shared --toolset=msvc-9.0~wm5~stlport stdlib=stlport install

 

 

Thanks a lot!

 

Tim

 

 

P.S. I have attached the user-config and vcvars files.


______________________________________________________________________
Priva B.V.

A disclaimer is applicable to this email, please refer to www.priva.nl/disclaimer.

Op deze email is een disclaimer van toepassing, ga naar www.priva.nl/disclaimer.