Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11538 closed Bugs (invalid)

Stalled file in boost serialize library

Reported by: kreuzerkrieg@… Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

Looks like there is a stalled file in serialization library boost_serialization.shared_ptr_helper.cpp - cant find the declaration for classes mentioned in above cpp. It ruins serialization NuGet package when it tries to compile

Change History (5)

comment:1 by anonymous, 7 years ago

I've found this bug report after finding that I couldn't build boost_serialization in my project, due to errors in shared_ptr_helper.cpp. My system is VS2013 (Update 4) on Windows 7 and I've got boost_serialization through NuGet.

After seeing this bug report, I've tested older versions of boost_serialization and found that version 1.55.0.10 builds fine, but versions 1.56 and greater don't.

comment:2 by Robert Ramey, 7 years ago

Resolution: invalid
Status: newclosed

I would need more specific information in order to address. "due to errors in shared_ptr_helper.cpp" - what errors exactly?

comment:3 by kreuzerkrieg@…, 7 years ago

here you go

1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(35): error C2062: type 'void' unexpected 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(36): error C2653: 'shared_ptr_helper_base': is not a class or namespace name 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(36): error C2143: syntax error: missing ';' before '{' 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(36): error C2447: '{': missing function header (old-style formal list?) 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(43): error C2059: syntax error: ')' 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(44): error C2653: 'shared_ptr_helper_base': is not a class or namespace name 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(45): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(49): error C2448: 'boost::serialization::m_o_sp': function-style initializer appears to be a function definition 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(51): error C2059: syntax error: ')' 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(52): error C2653: 'shared_ptr_helper_base': is not a class or namespace name 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(52): error C2143: syntax error: missing ';' before '{' 1>c:\MyTestApp\packages\boost_serialization.1.59.0.0\lib\native\src\shared_ptr_helper.cpp(52): error C2447: '{': missing function header (old-style formal list?)

comment:4 by Robert Ramey, 7 years ago

OK - shared_ptr_helper.cpp was obsolete and not used. I've deleted it

comment:5 by kreuzerkrieg@…, 7 years ago

Thanks!

Note: See TracTickets for help on using tickets.