Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2550

Mesos doesn't compile with clang 3.6

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.23.0
    • build
    • None
    • ArchLinux with Clang 3.6

    Description

      The bundled libev fails to compile with the error:

      ev.c:970:42: error: '_Noreturn' keyword must precede function declarator
        ecb_inline void ecb_unreachable (void) ecb_noreturn;
                                               ^~~~~~~~~~~~
        _Noreturn 
      

      Can be patched by moving the noreturn to earlier in the line / where C++11 noreturn attributes go.

      Bundled boost fails with errors like:

      ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/concept_check.hpp:653:11: error: unused typedef
            'boost_concept_check653' [-Werror,-Wunused-local-typedef]
                BOOST_CONCEPT_ASSERT((InputIterator<const_iterator>));
                ^
      

      Can be fixed by adding '-Wno-unused-local-typedef' if we detect clang 3.6

      Attachments

        Activity

          People

            cmaloney Cody Maloney
            cmaloney Cody Maloney
            Till Toenshoff Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: