Created
January 13, 2015 16:48
-
-
Save epipenau/199bd7005187239c2fae to your computer and use it in GitHub Desktop.
ambiguous map in litecoin source code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/masked/litecoin/src -I/home/masked/litecoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/masked/litecoin/src/leveldb/include -I/home/masked/litecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp | |
| alert.cpp:20:1: error: reference to 'map' is ambiguous | |
| In file included from compat.h:24:0, | |
| from netbase.h:11, | |
| from util.h:30, | |
| from alert.h:13, | |
| from alert.cpp:11: | |
| /usr/include/net/if.h:97:9: error: candidates are: struct map | |
| In file included from /opt/local/gcc47/include/c++/map:61:0, | |
| from alert.cpp:9: | |
| /opt/local/gcc47/include/c++/bits/stl_map.h:90:11: error: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map | |
| alert.cpp:20:1: error: 'map' does not name a type | |
| alert.cpp: In static member function 'static CAlert CAlert::getAlertByHash(const uint256&)': | |
| alert.cpp:163:9: error: reference to 'map' is ambiguous | |
| In file included from compat.h:24:0, | |
| from netbase.h:11, | |
| from util.h:30, | |
| from alert.h:13, | |
| from alert.cpp:11: | |
| /usr/include/net/if.h:97:9: error: candidates are: struct map | |
| In file included from /opt/local/gcc47/include/c++/map:61:0, | |
| from alert.cpp:9: | |
| /opt/local/gcc47/include/c++/bits/stl_map.h:90:11: error: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map | |
| alert.cpp:163:20: error: expected primary-expression before ',' token | |
| alert.cpp:163:28: error: expected primary-expression before '>' token | |
| alert.cpp:163:29: error: reference to 'iterator' is ambiguous | |
| In file included from /opt/local/include/boost/iterator/iterator_facade.hpp:10:0, | |
| from /opt/local/include/boost/range/iterator_range_core.hpp:23, | |
| from /opt/local/include/boost/range/iterator_range.hpp:13, | |
| from /opt/local/include/boost/range/as_literal.hpp:22, | |
| from /opt/local/include/boost/algorithm/string/classification.hpp:17, | |
| from alert.cpp:6: | |
| /opt/local/include/boost/iterator.hpp:55:10: error: candidates are: template<class Category, class T, class Distance, class Pointer, class Reference> struct boost::iterator | |
| In file included from /opt/local/gcc47/include/c++/bits/stl_algobase.h:66:0, | |
| from /opt/local/gcc47/include/c++/algorithm:62, | |
| from alert.cpp:5: | |
| /opt/local/gcc47/include/c++/bits/stl_iterator_base_types.h:119:12: error: template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator | |
| alert.cpp:163:40: error: expected ';' before 'mi' | |
| alert.cpp:164:12: error: 'mi' was not declared in this scope | |
| alert.cpp:164:18: error: 'mapAlerts' was not declared in this scope | |
| alert.cpp: In member function 'bool CAlert::ProcessAlert(bool)': | |
| alert.cpp:202:14: error: reference to 'map' is ambiguous | |
| In file included from compat.h:24:0, | |
| from netbase.h:11, | |
| from util.h:30, | |
| from alert.h:13, | |
| from alert.cpp:11: | |
| /usr/include/net/if.h:97:9: error: candidates are: struct map | |
| In file included from /opt/local/gcc47/include/c++/map:61:0, | |
| from alert.cpp:9: | |
| /opt/local/gcc47/include/c++/bits/stl_map.h:90:11: error: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map | |
| alert.cpp:202:25: error: expected primary-expression before ',' token | |
| alert.cpp:202:33: error: expected primary-expression before '>' token | |
| alert.cpp:202:34: error: reference to 'iterator' is ambiguous | |
| In file included from /opt/local/include/boost/iterator/iterator_facade.hpp:10:0, | |
| from /opt/local/include/boost/range/iterator_range_core.hpp:23, | |
| from /opt/local/include/boost/range/iterator_range.hpp:13, | |
| from /opt/local/include/boost/range/as_literal.hpp:22, | |
| from /opt/local/include/boost/algorithm/string/classification.hpp:17, | |
| from alert.cpp:6: | |
| /opt/local/include/boost/iterator.hpp:55:10: error: candidates are: template<class Category, class T, class Distance, class Pointer, class Reference> struct boost::iterator | |
| In file included from /opt/local/gcc47/include/c++/bits/stl_algobase.h:66:0, | |
| from /opt/local/gcc47/include/c++/algorithm:62, | |
| from alert.cpp:5: | |
| /opt/local/gcc47/include/c++/bits/stl_iterator_base_types.h:119:12: error: template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator | |
| alert.cpp:202:45: error: expected ';' before 'mi' | |
| alert.cpp:202:69: error: 'mi' was not declared in this scope | |
| alert.cpp:202:75: error: 'mapAlerts' was not declared in this scope | |
| alert.cpp:222:9: error: 'mapAlerts' was not declared in this scope | |
| alert.cpp:233:9: error: 'mapAlerts' was not declared in this scope | |
| makefile.unix:186: recipe for target 'obj/alert.o' failed | |
| make: *** [obj/alert.o] Error 1 | |
| [email protected]:~/litecoin/src$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment