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

ASF GitHub Bot commented on PROTON-2691:
----------------------------------------

jiridanek merged PR #390:
URL: https://github.com/apache/qpid-proton/pull/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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to