Sebastian Hauer:
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'
What happens if you just compile #include <iterator> ? If it fails in the same way, this is obviously a problem in the system headers, although I can't imagine something similar slipping in undetected... What are the contents of the lines around iterator:730 and xutility:3220?