You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/09 15:24:00 UTC

[jira] [Commented] (DISPATCH-2272) Mark all functions called from Python with QD_EXPORT

    [ https://issues.apache.org/jira/browse/DISPATCH-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441219#comment-17441219 ] 

ASF GitHub Bot commented on DISPATCH-2272:
------------------------------------------

jiridanek commented on pull request #1413:
URL: https://github.com/apache/qpid-dispatch/pull/1413#issuecomment-964254514


   > Please raise a discussion on the qpid-dispatch apache mailing list regarding win32 support. Adding win32 support is a big deal and needs to be discussed at the project level.
   
   It has been discussed multiple times, see the "Previous discussions" section on https://issues.apache.org/jira/browse/DISPATCH-2027. Why do you think there is something more to say than what was already mentioned?
   
   Actually, from my experience, it is not such a big deal. It greatly depends on what do you mean by "Windows support". What @ppatierno did in the tweet linked in Jira (running Dispatch in Windows Subsystem for Linux) was AFAIK quite simple user-level effort, which nevertheless got you there. My goal is to be able to build a native Windows binary in Visual Studio, but using the Clang compiler (VS offers a choice of MSVC and Clang on Windows; Clang obviously requires less effort). That is somewhat bigger deal, but nothing too crazy.
   
   @kgiusti Do I need to create a new thread, or can I reuse one of the existing ones?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Mark all functions called from Python with QD_EXPORT
> ----------------------------------------------------
>
>                 Key: DISPATCH-2272
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2272
>             Project: Qpid Dispatch
>          Issue Type: Sub-task
>    Affects Versions: 1.17.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> Dispatch requires that all C functions it calls be exported, because it looks them up as if in a dynamic library. This is important on Windows, where functions are unexported by default.
> On Windows, use {{__declspec(dllexport)}} to turn on exporting. Without it, the functions will not be found from Python.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org