Good day everyone,
I am trying to build sumo from master, but its failing with the latest
GCC/G++ update,
In file included from /usr/include/c++/8.1.0/map:60,
from ../../../src/microsim/MSEdgeControl.h:36,
from MSMeanData.cpp:33:
/usr/include/c++/8.1.0/bits/stl_tree.h: In instantiation of ‘class
std::_Rb_tree<MSLane*, MSLane*, std::_Identity<MSLane*>,
Named::ComparatorIdLess, std::allocator<MSLane*> >’:
/usr/include/c++/8.1.0/bits/stl_set.h:133:17: required from ‘class
std::set<MSLane*, Named::ComparatorIdLess>’
../../../src/microsim/MSEdgeControl.h:221:48: required from here
/usr/include/c++/8.1.0/bits/stl_tree.h:452:21: error: static assertion
failed: comparison object must be invocable with two arguments of key type
static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
What are the recommendations?
These are the steps I am doing:
export SUMO_HOME=$PWD
make -f Makefile.cvs
./configure CXX=clang++ CXXFLAGS="-stdlib=libstdc++
-fsanitize=undefined,address,integer,unsigned-integer-overflow
-fno-omit-frame-pointer
-fsanitize-blacklist=$PWD/build/clang_sanitize_blacklist.txt"
make
Best regards,
José
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user