[ 
https://issues.apache.org/jira/browse/PROTON-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-2143.
-------------------------------------
    Fix Version/s: proton-c-0.30.0
       Resolution: Fixed

> 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
>             Fix For: proton-c-0.30.0
>
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to