Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-14 00:16:03


I recently committed the following patch. This came up because I
recently installed Intel C++ 6 beta on top of VC7 prerelease. Apparently
that causes _MSC_VER to be set to 1300 in the intel compiler. I haven't
set things up to work with VC7 yet, and I'm passing all the paths to the
compiler explicitly, so it's getting the VC6 standard library for the
time being. The problem is, the config was checking _MSC_VER only, and
thus configuring boost as though we had the VC7 standard lib.

I'm not sure, but I think this same mistake may be made elsewhere in
this file.

-Dave

P.S. Haven't tested my changes against the VC7 standard lib yet; I'll do
that tomorrow. Please bark at me if I've caused problems

----------

*** dinkumware.hpp.~1.7.~ Sat Feb 23 12:08:52 2002
--- dinkumware.hpp Thu Mar 14 00:05:00 2002
***************
*** 55,61 ****
  # endif
  #endif

! #if defined(_MSC_VER) && (_MSC_VER <= 1200)
     // if we're using a dinkum lib that's
     // been configured for VC6 then there is
     // no iterator traits (true even for icl)
--- 55,61 ----
  # endif
  #endif

! #if defined(_MSC_VER) && (_MSC_VER <= 1200) || !defined(_CPPLIB_VER)
|| _CPPLIB_VER < 306
     // if we're using a dinkum lib that's
     // been configured for VC6 then there is
     // no iterator traits (true even for icl)

+---------------------------------------------------------------+
                  David Abrahams
      C++ Booster (http://www.boost.org) O__ ==
      Pythonista (http://www.python.org) c/ /'_ ==
  resume: http://users.rcn.com/abrahams/resume.html (*) \(*) ==
          email: david.abrahams_at_[hidden]
+---------------------------------------------------------------+


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