Boost logo

Boost :

From: John Spalding (jspalding_at_[hidden])
Date: 2002-04-16 22:05:05

Dear Sirs:

I am relatively new to the Boost community,
just let me add a big thanks for all the service rendered.

I have encountered a problem with the Boost
Graph Library and Microsoft Visual Studio, v 7.0,
the first released version. Your postings
indicate BGL was recently tested with the
Visual Studio beta-2 version. I am relatively
new to the v 7.0 version of Visual Studio, I
haven't been able to rule out a setup parameter

The same code compiled and worked with Visual Studio,
v 6.0, SP5.

Problem Symptoms:

- Boost Version: 1.25.1, and 1.27.0. (same symptoms)

- file: cv_traits.hpp

- functions: is_volatile, line-215
            is_const, line-183

- compiler: the compiler issues error C1001.

: fatal error C1001: INTERNAL COMPILER ERROR
       (compiler file 'msc1.cpp', line 2844)
        Please choose the Technical Support command on the Visual C++
        Help menu, or open the Technical Support help file for more

- desc: both functions have a complex macro call
using BOOST_STATIC_CONSTANT which takes the
address of a static variable of type T, to form
the argument of functions "detail::is_const_helper" and

Compiler, other details:

Microsoft Windows XP Professional version 2002.
Microsoft Development Environment 2002 Version 7.0.9466
Microsoft .NET Framework 1.0 Version 1.0.3705
Microsoft Visual C++ .NET 55537-652-0000007-18892

The compiler was installed off the DVD disk in the
MDSN Profesional Subscription,
"Disk 1332, March 2002,
Developer Tools,
Includes Visual Studio .NET Professional 2002, ..."

Supporting Information:
- I have attached the following files:
- BuildLog.htm, output from Visual Studio.
- VS_OutputWindow_2002Apr05.txt, annotated
VS output window text, with comments about
the problem.
-, the full
code project that reproduces the problem.

I would appreciate any help on this topic.
My current workaround is to utilize
Visual Studio v 6.0, SP5.

I plan also to send this report to
Microsoft for their comments.

John Spalding

2625 Antietam
Ann Arbor, MI 48105

Get your FREE download of MSN Explorer at

Boost list run by bdawes at, gregod at, cpdaniel at, john at