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

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

Re Andrew, use a static lib:
Possible... would need to trick the linker into including it since there's no 
direct reference to the code in acl, so it would normally not get included and, 
therefore, wouldn't initialize. But it's a possible workaround.

> 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