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 Danek (JIRA)" <ji...@apache.org> on 2017/08/24 09:59:00 UTC
[jira] [Updated] (PROTON-1375) Compile without warnings under clang
4.0
[ https://issues.apache.org/jira/browse/PROTON-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Danek updated PROTON-1375:
-------------------------------
Description:
The following warnings prevent me from compiling proton-c with clang 4.0 snaphot
# (/) /qpid-proton-fuzz/proton-c/src/tests/object.c:60:16: error: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior
# (/) /test/qpid-proton/proton-c/bindings/cpp/include/proton/message.hpp:51:11: error: instantiation of function
'proton::internal::cached_map<std::basic_string<char>, proton::scalar>::cached_map' required here, but no definition is
see complete error messages in comments below
was:
The following warnings prevent me from compiling proton-c with clang 4.0 snaphot
# (/) /qpid-proton-fuzz/proton-c/src/tests/object.c:60:16: error: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior
# (x) /test/qpid-proton/proton-c/bindings/cpp/include/proton/message.hpp:51:11: error: instantiation of function
'proton::internal::cached_map<std::basic_string<char>, proton::scalar>::cached_map' required here, but no definition is
see complete error messages in comments below
> Compile without warnings under clang 4.0
> ----------------------------------------
>
> Key: PROTON-1375
> URL: https://issues.apache.org/jira/browse/PROTON-1375
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: 0.16.0
> Environment: Debian Jessie. Install latest clang 4.0 snapshot from http://apt.llvm.org/.
> Reporter: Jiri Danek
> Assignee: Andrew Stitcher
> Priority: Minor
> Fix For: proton-c-0.18.0
>
>
> The following warnings prevent me from compiling proton-c with clang 4.0 snaphot
> # (/) /qpid-proton-fuzz/proton-c/src/tests/object.c:60:16: error: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior
> # (/) /test/qpid-proton/proton-c/bindings/cpp/include/proton/message.hpp:51:11: error: instantiation of function
> 'proton::internal::cached_map<std::basic_string<char>, proton::scalar>::cached_map' required here, but no definition is
> see complete error messages in comments below
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org