Boost logo

Boost Users :

Subject: [Boost-users] (no subject)
From: Long P (longcae_at_[hidden])
Date: 2010-07-05 12:24:39


Hi
 
I have problem compiling the example for serialization (boost_asio/example/serialization/server.cpp…) using MS71, does anyone know how to fix this errors? (I don’t have any problem using MS80)
 
Thanks
 
Long
 
 
Note: including file: C:\OpenSourceSoftware\InternetDownload\boost_1_41_0\boost/serialization/array.hpp
Note: including file: C:\OpenSourceSoftware\InternetDownload\boost_1_41_0\boost/serialization/detail/get_data.hpp
Note: including file: C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(314) : warning C4003: not enough actual parameters for macro 'min'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(323) : warning C4003: not enough actual parameters for macro 'max'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(314) : error C2059: syntax error : ')'
        C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(427) : see reference to class template instantiation 'std::valarray<_Ty>' being compiled
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(314) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ')' before '}'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing '}' before ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ';' before '}'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2238: unexpected token(s) preceding ';'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(323) : error C2146: syntax error : missing ';' before identifier '_Ty'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(314) : error C2059: syntax error : ')'
        C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(1124) : see reference to class template instantiation 'std::valarray<_Ty>' being compiled
        with
        [
            _Ty=size_t
        ]
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(314) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ')' before '}'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing '}' before ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(323) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(330) : error C2143: syntax error : missing ')' before '}'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(330) : error C2143: syntax error : missing '}' before ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(330) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(330) : error C2143: syntax error : missing ';' before '}'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(330) : error C2238: unexpected token(s) preceding ';'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(332) : error C2146: syntax error : missing ';' before identifier 'valarray'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(314) : error C2059: syntax error : ')'
        C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(1333) : see reference to class template instantiation 'std::valarray<_Ty>' being compiled
        with
        [
            _Ty=std::_Bool
        ]
        C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(1335) : see reference to class template instantiation 'std::mask_array<_Ty>' being compiled
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(314) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ')' before '}'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing '}' before ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ';' before '}'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(321) : error C2238: unexpected token(s) preceding ';'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\valarray(323) : error C2146: syntax error : missing ';' before identifier '_Ty'
                                                
_________________________________________________________________
Look 'em in the eye: FREE Messenger video chat
http://go.microsoft.com/?linkid=9734386



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