[ 
https://issues.apache.org/jira/browse/PROTON-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher 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
# (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

  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
# (off) 
/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: 0.17.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
> # (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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to