|
Boost Users : |
From: Sebastian Hauer (sebastian.hauer_at_[hidden])
Date: 2007-09-18 11:56:46
Hi,
I just upgrade my visual studio 8 install to SP1 and now I am unable
to compile a simple unit test. The compilation error I am getting is:
cl /EHsc /W3 /Wp64 /RTCsu /Gm /Ob0 /Od /MTd /TP /DFUSE_DB_WITH_MFC
/DWIN32 /D_DEBUG /D_MBCS /IY:\sys\lib\boost_1_34_1\include /Idb\src /c
db\test\fuse_db-tests.cpp
/Fobuild-db-vc80-mt-sgd\test\fuse_db-tests.obj /Zi
/Fdbuild-db-vc80-mt-sgd\test\fuse_db-tests.obj.pdb
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
fuse_db-tests.cpp
In fuse_db_tests.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\iterator(730) :
error C2953: 'stdext::checked_array_iterator' : class template has
already been defined
C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE\xutility(3220) : see declaration of
'stdext::checked_array_iterator'
When I compile with /showIncludes I see that the xutility header is included by:
Note: including file: Y:\sys\lib\boost_1_34_1\include\boost/shared_ptr.hpp
Note: including file: Y:\sys\lib\boost_1_34_1\include\boost/config.hpp
Note: including file: C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE\memory
Note: including file: C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE\iterator
Has anyone else run into this problem?
Regards,
Sebastian
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net