Boost logo

Boost Users :

From: Josue Andrade Gomes (josue.gomes.honeypot_at_[hidden])
Date: 2007-05-13 16:19:55


Josue Gomes escreveu:
> Hi,
>
> I've successfully built Boost 1.34 with MS Visual C++ "Orcas" Express Edition.
>

Well, sorry , this was not true. I got some compilation errors actually:

compile-c-c++
bin.v2\libs\signals\build\msvc-9.0express\debug\threading-multi\named_slot_map.obj
..
E:\boost\boost/iterator/iterator_facade.hpp(529) : error C2039:
'decrement' : is not a member of
'boost::signals::detail::named_slot_map_iterator'
...
E:\boost\boost/iterator/iterator_facade.hpp(547) : error C2039:
'advance' : is not a member of
'boost::signals::detail::named_slot_map_iterator'
...

Also the patch files were not complete. The new ones are attached.


--- msvc.jam 2007-05-13 08:23:18.671875000 -0300
+++ msvc.jam 2007-05-13 08:19:42.859375000 -0300
@@ -231,6 +231,10 @@ local rule configure-really (
         {
             # Even if version is not explicitly specified, try to detect the version
             # from the path.
+ if [ MATCH "(Microsoft Visual Studio 9.0)" : $(command) ]
+ {
+ version = 9.0 ;
+ }
             if [ MATCH "(Microsoft Visual Studio 8)" : $(command) ]
             {
                 version = 8.0 ;
@@ -913,13 +916,14 @@ actions compile.mc
 
 .ProgramFiles = [ path.make [ common.get-program-files-dir ] ] ;
 
-.known-versions = 8.0 8.0express 7.1 7.1toolkit 7.0 6.0 ;
+.known-versions = 9.0 9.0express 8.0 8.0express 7.1 7.1toolkit 7.0 6.0 ;
 
 # Version aliases
 .version-alias-6 = 6.0 ;
 .version-alias-6.5 = 6.0 ;
 .version-alias-7 = 7.0 ;
 .version-alias-8 = 8.0 ;
+.version-alias-9 = 9.0 ;
  
 # Name of the registry key that contains Visual C++ installation path
 # (relative to "HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft"
@@ -928,6 +932,8 @@ actions compile.mc
 .version-7.1-reg = "VisualStudio\\7.1\\Setup\\VC" ;
 .version-8.0-reg = "VisualStudio\\8.0\\Setup\\VC" ;
 .version-8.0express-reg = "VCExpress\\8.0\\Setup\\VC" ;
+.version-9.0-reg = "VisualStudio\\9.0\\Setup\\VC" ;
+.version-9.0express-reg = "VCExpress\\9.0\\Setup\\VC" ;
 
 # Visual C++ Toolkit 2003 do not store its installation path in the registry.
 # The environment variable 'VCToolkitInstallDir' and the default installation

--- auto_link.hpp 2005-12-07 21:11:42.000000000 -0200
+++ auto_link.hpp 2007-05-13 08:02:29.062500000 -0300
@@ -130,11 +130,16 @@ BOOST_LIB_VERSION: The Boost version,
    // vc71:
 # define BOOST_LIB_TOOLSET "vc71"
 
-#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1400)
+#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1400)
 
    // vc80:
 # define BOOST_LIB_TOOLSET "vc80"
 
+#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1500)
+
+ // vc80:
+# define BOOST_LIB_TOOLSET "vc90"
+
 #elif defined(__BORLANDC__)
 
    // CBuilder 6:

--- visualc.hpp 2006-01-13 04:48:08.000000000 -0200
+++ visualc.hpp 2007-05-12 13:07:19.500000000 -0300
@@ -168,8 +168,8 @@
 #error "Compiler not supported or configured - please reconfigure"
 #endif
 //
-// last known and checked version is 1400 (VC8):
-#if (_MSC_VER > 1400)
+// last known and checked version is 1500 (VC9):
+#if (_MSC_VER > 1500)
 # if defined(BOOST_ASSERT_CONFIG)
 # error "Unknown compiler version - please run the configure tests and report the results"
 # else


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net