[ 
https://issues.apache.org/jira/browse/QPID-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706633#action_12706633
 ] 

Steve Huston commented on QPID-1842:
------------------------------------

FYI, list of unresolved symbols:

"public: __thiscall qmf::org::apache::qpid::acl::Acl::Acl(class 
qpid::management::ManagementAgent *,class qpid::management::Manageable *,class 
qpid::management::Manageable *)" referenced in function "public: __thiscall 
qpid::acl::Acl::Acl(struct qpid::acl::AclValues &,class qpid::broker::Broker &)"

"public: __thiscall qmf::org::apache::qpid::acl::Package::Package(class 
qpid::management::ManagementAgent *)" referenced in function "public: 
__thiscall qpid::acl::Acl::Acl(struct qpid::acl::AclValues &,class 
qpid::broker::Broker &)" 

"__declspec(dllimport) public: static class qpid::management::ManagementAgent * 
__cdecl qpid::management::ManagementAgent::Singleton::getInstance(void)" 
referenced in function "public: __thiscall qpid::acl::Acl::Acl(struct 
qpid::acl::AclValues &,class qpid::broker::Broker &)" 
(this one is actually related more to a separate issue with 
ManagementAgent::Singleton)

"public: __thiscall qmf::org::apache::qpid::acl::EventDeny::EventDeny(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > const &,class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > const &,class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,class qpid::framing::FieldTable const &)"  referenced in function 
"private: bool __thiscall qpid::acl::Acl::result(enum qpid::acl::AclResult 
const &,class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > const &,enum qpid::acl::Action const &,enum 
qpid::acl::ObjectType const &,class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > const &)" 

"public: __thiscall qmf::org::apache::qpid::acl::EventAllow::EventAllow(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > const &,class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > const &,class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,class qpid::framing::FieldTable const &)"  referenced in function 
"private: bool __thiscall qpid::acl::Acl::result(enum qpid::acl::AclResult 
const &,class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > const &,enum qpid::acl::Action const &,enum 
qpid::acl::ObjectType const &,class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > const &)" 

"public: virtual void __thiscall 
qmf::org::apache::qpid::acl::EventAllow::encode(class qpid::framing::Buffer 
&)const "

"private: static void __cdecl 
qmf::org::apache::qpid::acl::EventAllow::writeSchema(class 
qpid::framing::Buffer &)" referenced in function "public: virtual void 
(__cdecl*__thiscall 
qmf::org::apache::qpid::acl::EventAllow::getWriteSchemaCall(void))(class 
qpid::framing::Buffer &)" 

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventAllow::packageName"

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventAllow::eventName" 

"private: static unsigned char * 
qmf::org::apache::qpid::acl::EventAllow::md5Sum" 

"public: virtual void __thiscall 
qmf::org::apache::qpid::acl::EventDeny::encode(class qpid::framing::Buffer 
&)const " 

"private: static void __cdecl 
qmf::org::apache::qpid::acl::EventDeny::writeSchema(class qpid::framing::Buffer 
&)"  referenced in function "public: virtual void (__cdecl*__thiscall 
qmf::org::apache::qpid::acl::EventDeny::getWriteSchemaCall(void))(class 
qpid::framing::Buffer &)" 

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventDeny::packageName" 

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventDeny::eventName" 

"private: static unsigned char * 
qmf::org::apache::qpid::acl::EventDeny::md5Sum" 

3"public: __thiscall 
qmf::org::apache::qpid::acl::EventFileLoaded::EventFileLoaded(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &)" referenced in function "private: bool __thiscall 
qpid::acl::Acl::readAclFile(class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > &,class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> &)" 

"public: __thiscall 
qmf::org::apache::qpid::acl::EventFileLoadFailed::EventFileLoadFailed(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > const &)"  referenced in function "private: bool 
__thiscall qpid::acl::Acl::readAclFile(class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > &,class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> &)" 

"public: virtual void __thiscall 
qmf::org::apache::qpid::acl::EventFileLoaded::encode(class 
qpid::framing::Buffer &)const " 

"private: static void __cdecl 
qmf::org::apache::qpid::acl::EventFileLoaded::writeSchema(class 
qpid::framing::Buffer &)"  referenced in function "public: virtual void 
(__cdecl*__thiscall 
qmf::org::apache::qpid::acl::EventFileLoaded::getWriteSchemaCall(void))(class 
qpid::framing::Buffer &)" 

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventFileLoaded::packageName" 

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventFileLoaded::eventName" 

"private: static unsigned char * 
qmf::org::apache::qpid::acl::EventFileLoaded::md5Sum" 

"public: virtual void __thiscall 
qmf::org::apache::qpid::acl::EventFileLoadFailed::encode(class 
qpid::framing::Buffer &)const " 

"private: static void __cdecl 
qmf::org::apache::qpid::acl::EventFileLoadFailed::writeSchema(class 
qpid::framing::Buffer &)" referenced in function "public: virtual void 
(__cdecl*__thiscall 
qmf::org::apache::qpid::acl::EventFileLoadFailed::getWriteSchemaCall(void))(class
 qpid::framing::Buffer &)" 

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventFileLoadFailed::packageName" 

"private: static class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > 
qmf::org::apache::qpid::acl::EventFileLoadFailed::eventName"

"private: static unsigned char * 
qmf::org::apache::qpid::acl::EventFileLoadFailed::md5Sum" 


> QMF-generated code doesn't export symbols
> -----------------------------------------
>
>                 Key: QPID-1842
>                 URL: https://issues.apache.org/jira/browse/QPID-1842
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>         Environment: Windows, Visual Studio
>            Reporter: Steve Huston
>
> The C++ ACL plugin fails to link on Windows because the needed QMF-generated 
> symbols built into the broker library are not exported.
> It is possible, with little trouble, to change the qmf-gen templates to 
> generate the proper export declarations; however, this would cause all 
> generated symbols to be exported, not just the ACL-related ones. This is not 
> necessarily a bad thing, but I'm open to more ideas on how to accomplish this.
> The wide-ranging nature of the code gen was hinted at in QPID-1274. So that's 
> possibly something to consider.
> If I don't hear objections within a day or two, I'll go ahead and add the 
> exports to all generated symbols.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to