Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2003-09-10 16:31:54


Robert,

The following summarizes(complete file attached) the partial fix to my
previous post concerning VC71. It's probably not the best solution, but it
works here(partially).

level.hpp: line 78

// BOOST_STATIC_CONSTANT( //JAF - Breaks
VC71
// level_type, value =
// static_cast<level_type>(type::value)
// );
      BOOST_STATIC_CONSTANT( int, value = type::value ); //JAF - Fixes VC71

The only remaining files not compiling(in Library) are text_oarchive.cpp and
text_woarchive.cpp, with the following error:

------ Build started: Project: Library, Configuration: Debug Win32 ------

Compiling...
text_oarchive.cpp
c:\boost\CVS\boost\boost\serialization\oserializer.hpp(174) : error C2975:
'x' : invalid template argument for 'boost::STATIC_ASSERTION_FAILURE',
compile-time evaluatable constant expression expected
        c:\boost\CVS\boost\boost\static_assert.hpp(29) : see declaration of
'x'
        c:\boost\CVS\boost\boost\serialization\oserializer.hpp(171) : while
compiling class-template member function 'void
boost::serialization::detail::save_non_pointer_type<Archive,T>::invoke(Archi
ve &,const T &)'
        with
        [
            Archive=boost::archive::basic_text_oarchive<std::ostream>,
            T=boost::archive::version_type
        ]
        c:\boost\CVS\boost\boost\serialization\oserializer.hpp(355) : see
reference to class template instantiation
'boost::serialization::detail::save_non_pointer_type<Archive,T>' being
compiled
        with
        [
            Archive=boost::archive::basic_text_oarchive<std::ostream>,
            T=boost::archive::version_type
        ]
        c:\boost\CVS\boost\boost\archive\basic_text_oarchive.hpp(115) : see
reference to function template instantiation 'void
boost::serialization::save<boost::archive::basic_text_oarchive<OStream>,T>(A
rchive &,const T &)' being compiled
        with
        [
            OStream=std::ostream,
            T=boost::archive::version_type,
            Archive=boost::archive::basic_text_oarchive<std::ostream>
        ]
        c:\boost\CVS\boost\boost\archive\basic_text_oarchive.hpp(154) : see
reference to function template instantiation 'void
boost::archive::basic_text_oarchive<OStream>::save_override<T>(const T
&,long)' being compiled
        with
        [
            OStream=std::ostream,
            T=boost::archive::version_type
        ]
        c:\boost\CVS\boost\boost\archive\common_oarchive.hpp(27) : see
reference to function template instantiation
'boost::archive::basic_text_oarchive<OStream>
&boost::archive::basic_text_oarchive<OStream>::operator
<<<boost::archive::version_type>(const T &)' being compiled
        with
        [
            OStream=std::ostream,
            T=boost::archive::version_type
        ]
        c:\boost\CVS\boost\boost\archive\common_oarchive.hpp(26) : while
compiling class-template member function 'void
boost::archive::common_oarchive<Archive>::vsave(const
boost::archive::version_type)'
        with
        [
            Archive=boost::archive::basic_text_oarchive<std::ostream>
        ]
        c:\boost\CVS\boost\boost\archive\basic_text_oarchive.hpp(43) : see
reference to class template instantiation
'boost::archive::common_oarchive<Archive>' being compiled
        with
        [
            Archive=boost::archive::basic_text_oarchive<std::ostream>
        ]
        c:\boost\CVS\boost\libs\serialization\src\text_oarchive.cpp(29) :
see reference to class template instantiation
'boost::archive::basic_text_oarchive<OStream>' being compiled
        with
        [
            OStream=std::ostream
        ]
c:\boost\CVS\boost\boost\serialization\oserializer.hpp(174) : error C2027:
use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>'
        with
        [
            x=false
        ]
        c:\boost\CVS\boost\boost\serialization\oserializer.hpp(174) : see
reference to class template instantiation
'boost::STATIC_ASSERTION_FAILURE<x>' being compiled
        with
        [
            x=false
        ]
c:\boost\CVS\boost\boost\serialization\oserializer.hpp(189) : error C2975:
'C' : invalid template argument for 'boost::mpl::apply_if_c', compile-time
evaluatable constant expression expected
        c:\boost\CVS\boost\boost\mpl\apply_if.hpp(47) : see declaration of
'C'
c:\boost\CVS\boost\boost\serialization\oserializer.hpp(190) : error C2975:
'C' : invalid template argument for 'boost::mpl::apply_if_c', compile-time
evaluatable constant expression expected
        c:\boost\CVS\boost\boost\mpl\apply_if.hpp(47) : see declaration of
'C'

Library - 4 error(s), 0 warning(s)

-- 
Jeff Flinn
Applied Dynamics, International
begin 666 level.hpp
M(VEF;F1E9B!"3T]35%]315))04Q)6D%424].7TQ%5D5,7TA04 T*(V1E9FEN
M92!"3T]35%]315))04Q)6D%424].7T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;&EZ871I;VX@:6UP;&5M96YT871I;VX@;&5V96P-"G1E;7!L871E/&-L
M87-S(%0^#0IS=')U8W0@:6UP;&5M96YT871I;VY?;&5V96Q[#0H@(" @='EP
M961E9B!"3T]35%]$14150T5$7U194$5.04U%#0H@(" @(" @(&UP;#HZ87!P
M;'E?:68\#0H@(" @(" @(" @("!I<U]V;VQA=&EL93Q4/BP-"B @(" @(" @
M(" @(&UP;#HZ:6YT7SQN;W1?<V5R:6%L:7IA8FQE/BP-"B @(" @(" @+R\@
M96QS90T*(" @(" @(" O+R!F=6YD86UE;G1A;"!T>7!E<R!A<F4@<V5R:6%L
M:7IE9"!A<R!P<FEM:71I=F5S#0H@(" @(" @($)/3U-47T1%1%5#141?5%E0
M14Y!344@;7!L.CIA<'!L>5]I9CP-"B @(" @(" @(" @(&UP;#HZ;W)?/ T*
M(" @(" @(" @(" @(" @(&ES7V9U;F1A;65N=&%L/%0^+ T*(" @(" @(" @
M(" @(" @(&ES7V5N=6T\5#X-"B @(" @(" @(" @(#XL#0H@(" @(" @(" @
M("!M<&PZ.FEN=%\\<')I;6ET:79E7W1Y<&4^+ T*(" @(" @(" O+R!E;'-E
M#0H@(" @(" @("\O(&]T:&5R('1Y<&5S(&%R92!S97)I86QI>F5D(&%L;VYG
M('=I=&@@8VQA<W,@:6YF;PT*(" @(" @(" @(" @;7!L.CII;G1?/&]B:F5C
M=%]C;&%S<U]I;F9O/@T*(" @(" @(" ^#0H@(" @(" @(#XZ.G1Y<&4@='EP
M93L-"B @(" @(" @#0HO+R @("!"3T]35%]35$%424-?0T].4U1!3E0H(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @+R]*048@+2!"<F5A:W,@5D,W
M,0T*+R\@(" @(" @(&QE=F5L7W1Y<&4L('9A;'5E(#T@#0HO+R @(" @(" @
M<W1A=&EC7V-A<W0\;&5V96Q?='EP93XH='EP93HZ=F%L=64I#0HO+R @(" I
M.PT*(" @(" @0D]/4U1?4U1!5$E#7T-/3E-404Y4*"!I;G0L('9A;'5E(#T@
M:6YT*'1Y<&4Z.G9A;'5E*2 I.R @+R]*048@+2!&:7AE<R!60S<Q#0I].PT*
M#0IT96UP;&%T93QC;&%S<R!4+"!E;G5M(&QE=F5L7W1Y<&4_at_3#X-"FEN;&EN
M92!B;V]L(&]P97)A=&]R/CTH:6UP;&5M96YT871I;VY?;&5V96P\5#X@="P@
M96YU;2!L979E;%]T>7!E(&PI#0I[#0H@(" @<F5T=7)N('0N=F%L=64@/CT@
M*&EN="EL.PT*?0T*#0I]("\O(&YA;65S<&%C92!S97)I86QI>F%T:6]N#0I]
M("\O(&YA;65S<&%C92!B;V]S= T*#0HO+R!S<&5C:69Y('1H92!L979E;"!O
M9B!S97)I86QI>F%T:6]N(&EM<&QE;65N=&%T:6]N(&9O<B!T:&4_at_8VQA<W,-
M"B\O(')E<75I<F4@=&AA="!C;&%S<R!I;F9O('-A=F5D('=H96X@=F5R<VEO
M;FEN9R!I<R!U<V5D#0HC9&5F:6YE($)/3U-47T-,05-37TE-4$Q%345.5$%4
M24].*%0L($4I(" @(" @(" @(" @(%P-"FYA;65S<&%C92!B;V]S="![(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @7 T*;F%M97-P86-E
M('-E<FEA;&EZ871I;VX@>R @(" @(" @(" @(" @(" @(" @(" @(" @("!<
M#0IT96UP;&%T92 \/B @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(%P-"G-T<G5C="!B;V]S=#HZ<V5R:6%L:7IA=&EO;CHZ:6UP
M;&5M96YT871I;VY?;&5V96P\5#X_at_7 T*>R @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @("!<#0H@(" @0D]/4U1?
M4U1!5$E#7T-/3E-404Y4*&QE=F5L7W1Y<&4L('9A;'5E(#T_at_12D[7 T*?3L@
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @("!<#0I](" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(%P-"GT-"B\J*B\-"@T*(V5N9&EF("\O($)/3U-4
:7U-%4DE!3$E:051)3TY?3$5614Q?2%!0#0H`
`
end

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