qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-1842) QMF-generated code doesn't export symbols
Date Mon, 11 May 2009 20:22:45 GMT

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

Andrew Stitcher commented on QPID-1842:

With the most recent changes the only symbols that still fail are in the qmf::org::apache::qpid::acl

(After some discussion with tross)

I think that what should be happening (but isn't currently) is that the qmf generated code
in this namespace should be linked in with the acl module itself. As fas as I can understand
these symbols aren't used outside the acl module anyway.

The way to do this is to modify the managment.mk/.cmake files to split the list of cpp files
along namespace lines just as the .h files are split then they could be included in different
lists in CMakefile.txt/Makefile.am

Any other commetns Ted?

> 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:dev-subscribe@qpid.apache.org

View raw message