problem with boost::variant and borland

I have a program which consists on one line: #include <boost/variant.hpp> If I try to compile this using the main CVS tree, I get the following with borland 5.51 and 5.64 compilers: Error E2401 C:\BoostMainCVS\boost/variant/detail/substitute_fwd.hpp 50: Invalid template argument list Error E2041 C:\BoostMainCVS\boost/variant/detail/substitute_fwd.hpp 50: Incorrect use of default Error E2040 C:\BoostMainCVS\boost/variant/detail/substitute_fwd.hpp 50: Declaration terminated incorrectly Error E2394 C:\BoostMainCVS\boost/variant/detail/substitute.hpp 101: Too few arguments passed to template 'substitute<T,Dest,Source,Arity>' Error E2040 C:\BoostMainCVS\boost/variant/detail/substitute.hpp 101: Declaration terminated incorrectly Error E2228 C:\BoostMainCVS\boost/variant/detail/substitute.hpp 101: Too many error or warning messages What can be done to fix this? Robert Ramey

"Robert Ramey" wrote:
I have a program which consists on one line:
#include <boost/variant.hpp>
If I try to compile this using the main CVS tree, I get the following with borland 5.51 and 5.64 compilers:
[snip] It must be something with CVS version - I tried it with 1.32 and it compiles cleanly. /Pavel

Note that this is the cause of the failure or test_variant (borland) in the serialization system on tester's machines so its not something on my personal machne. Robert Ramey Pavel Vozenilek wrote:
"Robert Ramey" wrote:
I have a program which consists on one line:
#include <boost/variant.hpp>
If I try to compile this using the main CVS tree, I get the following with borland 5.51 and 5.64 compilers:
[snip]
It must be something with CVS version - I tried it with 1.32 and it compiles cleanly.
/Pavel
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Pavel Vozenilek
-
Robert Ramey