[
https://issues.apache.org/jira/browse/PROTON-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704727#comment-17704727
]
ASF subversion and git services commented on PROTON-2691:
---------------------------------------------------------
Commit 5db87831cf38c05364d1597cacbaabd81942048f in qpid-proton's branch
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=5db87831c ]
PROTON-2691: Additional fixes -Wstrict-prototypes compile warning from Clang
(#390)
> Clang compilation error: a function declaration without a prototype is
> deprecated in all versions of C [-Werror,-Wstrict-prototypes]
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: PROTON-2691
> URL: https://issues.apache.org/jira/browse/PROTON-2691
> Project: Qpid Proton
> Issue Type: Bug
> Affects Versions: proton-c-0.38.0
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Major
> Fix For: proton-c-0.39.0
>
>
> {noformat}
> [ 16%] Building C object
> c/CMakeFiles/qpid-proton-core-static.dir/src/core/object/iterator.c.o
> /home/jdanek/repos/qpid/qpid-proton/c/src/core/object/iterator.c:54:27:
> error: a function declaration without a prototype is deprecated in all
> versions of C [-Werror,-Wstrict-prototypes]
> pn_iterator_t *pn_iterator()
> ^
> void
> 1 error generated.
> [ 16%] Building C object
> c/CMakeFiles/qpid-proton-core-static.dir/src/core/error.c.o
> /home/jdanek/repos/qpid/qpid-proton/c/src/core/error.c:44:21: error: a
> function declaration without a prototype is deprecated in all versions of C
> [-Werror,-Wstrict-prototypes]
> pn_error_t *pn_error()
> ^
> void
> 1 error generated.
> [ 25%] Building C object
> c/CMakeFiles/qpid-proton-core-static.dir/src/core/engine.c.o
> /home/jdanek/repos/qpid/qpid-proton/c/src/core/engine.c:228:29: error: a
> function declaration without a prototype is deprecated in all versions of C
> [-Werror,-Wstrict-prototypes]
> pn_condition_t *pn_condition() {
> ^
> void
> /home/jdanek/repos/qpid/qpid-proton/c/src/core/engine.c:528:31: error: a
> function declaration without a prototype is deprecated in all versions of C
> [-Werror,-Wstrict-prototypes]
> pn_connection_t *pn_connection()
> ^
> void
> 2 errors generated.
> /home/jdanek/repos/qpid/qpid-proton/c/src/core/message.c:360:25: error: a
> function declaration without a prototype is deprecated in all versions of C
> [-Werror,-Wstrict-prototypes]
> pn_message_t *pn_message() {
> ^
> void
> 1 error generated.
> /home/jdanek/repos/qpid/qpid-proton/cmake-build-release-clang/c/src/extra/url.c:192:17:
> error: a function declaration without a prototype is deprecated in all
> versions of C [-Werror,-Wstrict-prototypes]
> pn_url_t *pn_url() {
> ^
> void
> 1 error generated.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]