[Networkit] Broken

Christian Staudt christian.staudt at kit.edu
Mon Sep 7 13:39:19 CEST 2015


Currently KruskalMFS seems to break the build of the Dev branch:

In file included from /usr/local/Cellar/gcc48/4.8.4/include/c++/4.8.4/algorithm:62:0,
                 from networkit/cpp/graph/Graph.h:11,
                 from networkit/cpp/graph/KruskalMSF.h:12,
                 from networkit/cpp/graph/KruskalMSF.cpp:8:
/usr/local/Cellar/gcc48/4.8.4/include/c++/4.8.4/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<NetworKit::MyEdge*, std::vector<NetworKit::MyEdge> >; _Tp = NetworKit::MyEdge]':
/usr/local/Cellar/gcc48/4.8.4/include/c++/4.8.4/bits/stl_algo.h:2283:70:   required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<NetworKit::MyEdge*, std::vector<NetworKit::MyEdge> >]'
/usr/local/Cellar/gcc48/4.8.4/include/c++/4.8.4/bits/stl_algo.h:2315:54:   required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<NetworKit::MyEdge*, std::vector<NetworKit::MyEdge> >; _Size = long int]'
/usr/local/Cellar/gcc48/4.8.4/include/c++/4.8.4/bits/stl_algo.h:5461:36:   required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<NetworKit::MyEdge*, std::vector<NetworKit::MyEdge> >]'
networkit/cpp/graph/KruskalMSF.cpp:54:51:   required from here
/usr/local/Cellar/gcc48/4.8.4/include/c++/4.8.4/bits/stl_algo.h:2245:19: error: passing 'const NetworKit::MyEdge' as 'this' argument of 'bool NetworKit::MyEdge::operator<(const NetworKit::MyEdge&)' discards qualifiers [-fpermissive]
    while (__pivot < *__last)
                   ^
scons: *** [.buildDbg/graph/KruskalMSF.o] Error 1
scons: building terminated because of errors.
scons returned an error, exiting setup.py

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150907/54474e43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150907/54474e43/attachment.sig>


More information about the NetworKit mailing list