Commenting out the offending line resolved the problem.
Can't be sure if DevStudio 6 has all service packs
installed,
will confirm on another system shortly.
Regards,
Nigel Stewart
--------------------Configuration: OpenThreads - Win32
Release--------------------
Compiling...
Win32Thread.cpp
D:\temp\OpenThreads\win32_src\Win32Thread.cpp(25) :
error C2039: 'size_t' : is not a member of 'std'
D:\temp\OpenThreads\win32_src\Win32Thread.cpp(25) :
error C2868: 'size_t' : illegal syntax for
using-declaration; expected qualified-name
Error executing cl.exe.
OpenThreadsWin32.dll - 2 error(s), 0 warning(s)
--------------------Configuration: OpenThreads - Win32
Debug--------------------
Compiling...
Win32Thread.cpp
d:\temp\openthreads\win32_src\win32thread.cpp(25) :
error C2039: 'size_t' : is not a member of 'std'
d:\temp\openthreads\win32_src\win32thread.cpp(25) :
error C2868: 'size_t' : illegal syntax for
using-declaration; expected qualified-name
Error executing cl.exe.
OpenThreadsWin32d.dll - 2 error(s), 0 warning(s)
Logged In: YES
user_id=338692
OpenThreads bundled with OSG_OP_OT
is having the same problem. (Eventhough
the source is fairly different)
Logged In: YES
user_id=338692
Everything compiles fine with STLPort, it seems to be
the broken STL with DevStudio that is breaking the
build.
Logged In: YES
user_id=827171
at the begining of file :
#if defined(_MSC_VER) && _MSC_VER <= 1300 // up to
VC7.0
#ifdef __SGI_STL // STLport has is right
using std::size_t;
#endif
#else
using std::size_t;
#endif