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 subversion and git services (Jira)" <ji...@apache.org> on 2019/11/22 19:02:00 UTC
[jira] [Commented] (PROTON-2143) Linkage warnings build
proton-c/python bindings
[ https://issues.apache.org/jira/browse/PROTON-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980418#comment-16980418 ]
ASF subversion and git services commented on PROTON-2143:
---------------------------------------------------------
Commit 69f5dfe7eb22432dbec666b5c7a1dca786c93657 in qpid-proton's branch refs/heads/master from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=69f5dfe ]
PROTON-2143: Get rid of Windows linkage warnings
> Linkage warnings build proton-c/python bindings
> -----------------------------------------------
>
> Key: PROTON-2143
> URL: https://issues.apache.org/jira/browse/PROTON-2143
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c, python-binding
> Environment: Windows
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
>
> You get lots of warnings like:
> {{D:\a\1\s\BLD\c\src\extra\url.c(191): warning C4273: 'pn_url': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(47): note: see previous definition of 'pn_url'}}
> {{ D:\a\1\s\BLD\c\src\extra\url.c(204): warning C4273: 'pn_url_parse': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(68): note: see previous definition of 'pn_url_parse'}}
> {{ D:\a\1\s\BLD\c\src\extra\url.c(223): warning C4273: 'pn_url_free': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(74): note: see previous definition of 'pn_url_free'}}
> {{ D:\a\1\s\BLD\c\src\extra\url.c(226): warning C4273: 'pn_url_clear': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(80): note: see previous definition of 'pn_url_clear'}}
> {{ D:\a\1\s\BLD\c\src\extra\url.c(237): warning C4273: 'pn_url_str': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(89): note: see previous definition of 'pn_url_str'}}
> {{ D:\a\1\s\BLD\c\src\extra\url.c(257): warning C4273: 'pn_url_get_scheme': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(99): note: see previous definition of 'pn_url_get_scheme'}}
> {{ D:\a\1\s\BLD\c\src\extra\url.c(258): warning C4273: 'pn_url_get_username': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(101): note: see previous definition of 'pn_url_get_username'}}
> {{ D:\a\1\s\BLD\c\src\extra\url.c(259): warning C4273: 'pn_url_get_password': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]}}
> {{ D:\a\1\s\c\include\proton/url.h(103): note: see previous definition of 'pn_url_get_password'}}
> {{ ...}}
> These are due to building statically without setting the correct build flags.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org