www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - Build problems with vc90 and 64 bit

reply =?ISO-8859-1?Q?Daniel_Kr=FCgler?= <dsp bdal.de> writes:
We are observing that the following combination

pantheios-1.0.1-beta212
stlsoft-1.9.109

causes a compile error for VS2008 (vc90) using 64-bit builds:

  ..\..\src\xtests\xtests.core.cpp(1911) : error C2220: warning treated 
as error - no 'object' file generated
..\..\src\xtests\xtests.core.cpp(1911) : warning C4244: 'argument' : 
conversion from 'ptrdiff_t' to 'int', possible loss of data

Is this a known problem? Does there exist a fixed version for this?

Thanks & Greetings from Bremen,

Daniel Krügler
Feb 17 2012
parent "Matt Wilson" <matthewwilson acm.org> writes:
Hi Daniel

This is a known problem. It's actually a problem within the version of 
xTests that's bundled with the current latest released version of Pantheios. 
It's actually been fixed within xTests, and will be bundled with the next 
release of Pantheios, which should hopefully be soon.

As a short-term fix, you can include the following within 
src/xtests/xtests.cpp, near the top

    #include <stlsoft/stlsoft.h>
    #if defined(STLSOFT_COMPILER_IS_MSVC)

    #endif

HTH

Matt

"Daniel Krügler" <dsp bdal.de> wrote in message 
news:jhla44$1b63$2 digitalmars.com...
 We are observing that the following combination

 pantheios-1.0.1-beta212
 stlsoft-1.9.109

 causes a compile error for VS2008 (vc90) using 64-bit builds:

  ..\..\src\xtests\xtests.core.cpp(1911) : error C2220: warning treated as 
 error - no 'object' file generated
 ..\..\src\xtests\xtests.core.cpp(1911) : warning C4244: 'argument' : 
 conversion from 'ptrdiff_t' to 'int', possible loss of data

 Is this a known problem? Does there exist a fixed version for this?

 Thanks & Greetings from Bremen,

 Daniel Krügler

 
Feb 22 2012