Dave,
I bugged it. The steps to reproduce are below. Note that I am running cl
from the IDE and not from the command line so perhaps the problem is with
the IDE and not cl. Also, make sure that you have the release version of
boost-1.33.1 as this bug cannot be reproduced on earlier betas or release
candidates. These steps are reproducible here so it should work for you as
well.
Regards,
George.
P.S. Code analysis caught some latent bugs in the regex library so it is
really useful when it works.
1. Dowload and install boost-1.33.1 from
http://prdownloads.sourceforge.net/b...r.bz2?download.
Make sure that you have the release version of boost-1.33.1. This problem
cannot be reproduced on earlier beta versions of boost.
2. Install Visual Studio 2005 Team Edition for Software Developers.
3. Open the VS IDE. From the file menu click OPEN Project and navigate to
boost_1_33_1\libs\serialization\vc7ide and open
BoostSerializationLibrary.sln.
4. When prompted select to upgrade the solution to VS8.0 and follow the
prompts until the project is upgraded.
5. In the Solution Configuration combo box select "Debug dynamic"
6. Right click on the "Library" project in solution explorer and select
"Code Analysis for C++" from the Advanced tab of the property sheet.
7. Repeat step 6 for the "LibraryW" project.
8. Right click on the "Library" project and select build.
9. Right click on the "LibraryW" project and select build. Crash will while
building LibraryW project.
"Dave Bartolomeo [MSFT]" <Da*************@nospam.microsoft.com> a écrit dans
le message de news: uD**************@TK2MSFTNGP11.phx.gbl...
Yes, please do submit a report. Specifically, we'll need to know what
headers you're including, and what compiler options you're using. I tried
the obvious repro (cl /c /analyze foo.cpp, where all foo.cpp does is
#include <boost/serialization/serialization.hpp>, and it compiled OK. I'm
probably just missing some switches or headers that you're using, though.
-Dave
"David Lowndes" <Da****@example.invalid> wrote in message
news:nq********************************@4ax.com... >VC8.0 crashes while compiling boost-1.33.1 serialization library (or any
other library that includes the serialization headers) if code analysis
(/analyze) is enabled.
George,
If you've not done so already, please submit a bug report on this at:
http://lab.msdn.microsoft.com/productfeedback/
Dave