Mesos
  1. Mesos
  2. MESOS-688

error of "unused_local_typedefs" in thirdparty/boost

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.12.0
    • Component/s: release
    • Labels:
    • Environment:

      Fedora 19, Linux 3.10.9, x86_64, g++ 4.8.1

      Description

      Compilation error under g++ 4.8.1 (Fedora 19)
      ....
      ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/variant/variant.hpp: In member function 'void boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::operator<(const U&) const':
      ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/variant/variant.hpp:2254:135: error: typedef 'boost_static_assert_typedef_2254' locally defined but not used [-Werror=unused-local-typedefs]
      BOOST_STATIC_ASSERT( false && sizeof(U) );
      ^
      cc1plus: all warnings being treated as errors
      ....

      It is a well-known bug in boost.
      https://svn.boost.org/trac/boost/ticket/8546
      https://groups.google.com/forum/#!topic/v8-dev/vxzTVQ5fJ4s

      Before it is fixed totally in boost, the error can be just suppressed here
      mesos/src/Makefile.am: line 73
      MESOS_CPPFLAGS += -Wall -Werror

      =======

      MESOS_CPPFLAGS += -Wall -Werror -Wno-unused-local-typedefs.

      yf

        Issue Links

          Activity

          Yong Fu created issue -
          Vinod Kone made changes -
          Field Original Value New Value
          Assignee Yong Fu [ leland_fy ]
          Yong Fu made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.12.0 [ 12324391 ]
          Resolution Fixed [ 1 ]
          Vinod Kone made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Yong Fu [ leland_fy ] Brenden Matthews [ brenden ]
          Benjamin Hindman made changes -
          Rank Ranked lower
          Tony Stevenson made changes -
          Workflow Mesos workflow [ 12815087 ] Copy of Mesos workflow [ 13027523 ]
          Status Reopened [ 4 ] Open [ 1 ]
          Bernd Mathiske made changes -
          Status Open [ 1 ] Accepted [ 10020 ]
          Neil Conway made changes -
          Link This issue relates to MESOS-3915 [ MESOS-3915 ]
          Neil Conway made changes -
          Status Accepted [ 10020 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Neil Conway made changes -
          Link This issue relates to MESOS-3932 [ MESOS-3932 ]

            People

            • Assignee:
              Brenden Matthews
              Reporter:
              Yong Fu
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development