[Networkit] Broken

Henning Meyerhenke henning.meyerhenke at kit.edu
Mon Sep 7 14:55:48 CEST 2015


Please try again after pulling. My compiler does (and did) not complain.

H.

Am 07.09.15 um 13:39 schrieb Christian Staudt:
> 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
>
>
>
> _______________________________________________
> NetworKit mailing list
> NetworKit at ira.uni-karlsruhe.de
> https://lists.ira.uni-karlsruhe.de/mailman/listinfo/networkit
>

-- 

=======================================================
Karlsruhe Institute of Technology (KIT)
Institute of Theoretical Informatics (ITI)

Juniorprof. Dr. Henning Meyerhenke
Theoret. Informatics / Parallel Computing

Phone: +49-721-608-41876
Web: http://parco.iti.kit.edu/henningm/

KIT - University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association
=======================================================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5399 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150907/495a7400/attachment.p7s>


More information about the NetworKit mailing list