You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2023/03/07 18:08:00 UTC

[jira] [Created] (PROTON-2691) Clang compilation rror: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]

Jiri Daněk created PROTON-2691:
----------------------------------

             Summary: Clang compilation rror: 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: New Feature
    Affects Versions: proton-c-0.38.0
            Reporter: Jiri Daněk
            Assignee: Jiri Daněk


{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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org