Boost logo

Boost Users :

From: Joshua (animedemon_at_[hidden])
Date: 2002-10-22 23:31:57


I'm just trying to include the files for the shared_ptr class and keep having problems. I was able to fix a problem with a duplicate definition of 'max' and 'min' (in suffix.hpp, it was conflicting with a file from the SGI STL implementation) I mainly just commented it out, if someone has a better plan on how to fix it I would love to know how to fix it. I have tried Boost 1.28 and 1.29 and still got the same set of errors. In addition to the 'max' and 'min' conflict I am getting these errors :
e:\programming projects\c++ projects\boost_1_28_0\boost\checked_delete.hpp(24) : error C2061: syntax error : identifier 'T'
e:\programming projects\c++ projects\boost_1_28_0\boost\checked_delete.hpp(24) : error C2061: syntax error : identifier 'T'
e:\programming projects\c++ projects\boost_1_28_0\boost\checked_delete.hpp(30) : error C2061: syntax error : identifier 'T'
e:\programming projects\c++ projects\boost_1_28_0\boost\checked_delete.hpp(30) : error C2061: syntax error : identifier 'T'
e:\programming projects\c++ projects\boost_1_28_0\boost\detail\shared_count.hpp(184) : error C2504: 'counted_base' : base class undefined
        e:\programming projects\c++ projects\boost_1_28_0\boost\detail\shared_count.hpp(206) : see reference to class template instantiation 'detail::counted_base_impl<P,D>' being compiled
e:\programming projects\c++ projects\boost_1_28_0\boost\detail\shared_count.hpp(253) : error C2061: syntax error : identifier 'Y'
e:\programming projects\c++ projects\boost_1_28_0\boost\detail\shared_count.hpp(254) : error C2065: 'Y' : undeclared identifier
e:\programming projects\c++ projects\boost_1_28_0\boost\detail\shared_count.hpp(390) : fatal error C1506: unrecoverable block scoping error

So I'm not sure if I'm doing something wrong (like not setting up the include order correctly) or if Microsoft is once again making my life hell. I am being bad and using the __int64 data type but I may need to rethink it and convert it to standard C++ (well sorta standard, I think gcc supports a longlong to get a 64bit int.. if not I may change it around to a bit_vector or something). But if anyone can shed some light on why I'm getting these errors listed above I'd really appreciate it.
thanks.
Joshua.


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