
Pavel Vozenilek wrote:
The library is known to work with several newer compilers, VC7.1 among them. Help with other compilers is welcomed.
I've tried it with bcc32 5.6.4 and just #include <boost/singleton.hpp> leads to these errors. If anyone has any ideas on this then I'd be happy to try them out. Cheers Russell [C++ Error] dependency_lifetime.hpp(119): E2402 Illegal base class type: formal type 'leaky_lifetime_ex<CreationFlags,Creator,Lock>::lifetime<Type>' resolves to 'leaky_lifetime_ex<1,create_using_new,unlocked>::lifetime<Type>' [C++ Error] dependency_lifetime.hpp(61): E2402 Illegal base class type: formal type 'typename leaky_lifetime_ex<CreationFlags,Creator,Lock>::lifetime<Type>::pointer' resolves to 'typename leaky_lifetime_ex<1,create_using_new,unlocked>::lifetime<Type>::pointer' [C++ Error] longevity_registry.hpp(45): E2029 'singleton_ex<longevity_registry,dependency_lifetime>' must be a previously defined class or struct [C++ Error] longevity_registry.hpp(80): E2247 'longevity_registry::node::longevity' is not accessible [C++ Error] longevity_registry.hpp(80): E2247 'longevity_registry::node::longevity' is not accessible [C++ Error] longevity_registry.hpp(81): E2247 'longevity_registry::node::longevity' is not accessible [C++ Error] longevity_registry.hpp(81): E2247 'longevity_registry::node::longevity' is not accessible [C++ Error] longevity_registry.hpp(81): E2247 'longevity_registry::node::creation_index' is not accessible [C++ Error] longevity_registry.hpp(81): E2247 'longevity_registry::node::creation_index' is not accessible [C++ Error] longevity_registry.hpp(66): E2288 Pointer to structure required on left side of -> or ->*