[ https://issues.apache.org/jira/browse/PROTON-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Stitcher updated PROTON-2143: ------------------------------------ Description: 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. was: You get lots of warnings like: {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(47): note: see previous definition of 'pn_url'{color} {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(68): note: see previous definition of 'pn_url_parse'{color} {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(74): note: see previous definition of 'pn_url_free'{color} {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(80): note: see previous definition of 'pn_url_clear'{color} {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(89): note: see previous definition of 'pn_url_str'{color} {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(99): note: see previous definition of 'pn_url_get_scheme'{color} {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(101): note: see previous definition of 'pn_url_get_username'{color} {color:#ffffff}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]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(103): note: see previous definition of 'pn_url_get_password'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(260): warning C4273: 'pn_url_get_host': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(105): note: see previous definition of 'pn_url_get_host'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(261): warning C4273: 'pn_url_get_port': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(107): note: see previous definition of 'pn_url_get_port'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(262): warning C4273: 'pn_url_get_path': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(109): note: see previous definition of 'pn_url_get_path'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(265): warning C4273: 'pn_url_set_scheme': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(123): note: see previous definition of 'pn_url_set_scheme'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(266): warning C4273: 'pn_url_set_username': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(125): note: see previous definition of 'pn_url_set_username'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(267): warning C4273: 'pn_url_set_password': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(127): note: see previous definition of 'pn_url_set_password'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(268): warning C4273: 'pn_url_set_host': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(129): note: see previous definition of 'pn_url_set_host'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(269): warning C4273: 'pn_url_set_port': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(131): note: see previous definition of 'pn_url_set_port'{color} {color:#ffffff}D:\a\1\s\BLD\c\src\extra\url.c(270): warning C4273: 'pn_url_set_path': inconsistent dll linkage [D:\a\1\s\BLD\c\tests\fuzz\fuzz-url.vcxproj]{color} {color:#ffffff} D:\a\1\s\c\include\proton/url.h(133): note: see previous definition of 'pn_url_set_path'{color} These are due to building static ally without setting the correct build flags. > 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org