Boost logo

Boost :

From: John Madsen (john_at_[hidden])
Date: 2002-04-16 23:29:45


Hello,

I had the same problem and submitted a bug report to MS. In the
meantime, the version of Boost in CVS fixes this issue and allows much
more of Boost to work with VC7. After checking that out, I've no
problems with BGL.

John

-----Original Message-----
From: boost-admin_at_[hidden] [mailto:boost-admin_at_[hidden]]
On Behalf Of John Spalding
Sent: Tuesday, April 16, 2002 11:05 PM
To: boost_at_[hidden]
Cc: jspalding_at_[hidden]
Subject: [boost] BGL: possible problem using with VStudio .NET, release
version.

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
problem.

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.

C:\Work\Dev\External\Boost\boost_1_25_1\boost\type_traits\cv_traits.hpp(
188)
: 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
information
BglFirstLook.cpp

- 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
"detail::is_volatile_helper".

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.
- VStudio7Problem_2002apr06.zip, 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

JSpalding_at_[hidden]
734-741-8220
2625 Antietam
Ann Arbor, MI 48105

_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk