id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6899,boost serialization calls wrong guild(),Xiaolong ,Robert Ramey,"I have a serializaiton program that serializes over 600 classes. During the singleton initialization, the program should call the guid() function defined in macro BOOST_CLASS_EXPORT_GUID in export.hpp. But about 40% of class singletons call the dummy guild() function defined in extened_type_info.hpp: template[[BR]] struct guid_defined : boost::mpl::false_ {};[[BR]] template[[BR]] inline const char * guid(){[[BR]] return NULL;[[BR]]} This causes m_key=NULL, and later causes ""unregistered class"" error for multiple inheritence classes. The following two lines are ajacent in the same file. The first calls the dummy guid(), the second calls the macro guid().[[BR]] BOOST_CLASS_EXPORT_GUID(CffCDOQuote, ""CffCDOQuote"")[[BR]] BOOST_CLASS_EXPORT_GUID(boost::shared_ptr< CffCDOQuote >, ""CffCDOQuotePtr"") I am working in Windows 7, VC++ 9.0 and Boost 1.44.0. I tried all possible project settings of optimization and runtime, got no luck. It is difficult to create a simple test case. I will be happy to provide more info if needed. Thanks Xiaolong ",Bugs,closed,To Be Determined,serialization,Boost 1.44.0,Problem,invalid,guid,