Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1375

Compile without warnings under clang 4.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Resolved
    • proton-0.16.0
    • proton-c-0.18.0
    • proton-c
    • None
    • Debian Jessie. Install latest clang 4.0 snapshot from http://apt.llvm.org/.

    Description

      The following warnings prevent me from compiling proton-c with clang 4.0 snaphot

      1. /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
      2. /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

      Attachments

        Issue Links

          Activity

            People

              astitcher Andrew Stitcher
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: