All pastes #28571 Raw Edit

Someone

public text v1 · immutable
#28571 ·published 2005-11-13 15:26 UTC
rendered paste body
Compiler: Default compiler
Building Makefile: "C:\cvsroot\bzflag\Dev-C++\Makefile.win"
Executing  make clean
rm -f ../src/bzadmin/UIMap.o ../src/bzadmin/bzadmin.o ../src/bzadmin/BZAdminClient.o ../src/bzadmin/BZAdminUI.o ../src/bzadmin/OptionParser.o ../src/bzadmin/Ping.o ../src/bzadmin/Address.o ../src/bzadmin/multicast.o ../src/bzadmin/network.o ../src/bzadmin/Pack.o ../src/bzadmin/ServerLink.o ../src/bzadmin/StateDatabase.o ../src/bzadmin/TimeKeeper.o ../src/bzadmin/ErrorHandler.o ../src/bzadmin/bzfio.o ../src/bzadmin/BundleMgr.o ../src/bzadmin/Bundle.o ../src/bzadmin/PlayerState.o ../src/bzadmin/buildDate.o ../src/bzadmin/ShotUpdate.o ../src/bzadmin/Flag.o ../src/bzadmin/Team.o ../src/bzadmin/CursesUI.o ../src/bzadmin/CursesMenu.o ../src/bzadmin/AutoCompleter.o ../src/bzadmin/TextUtils.o ../src/bzadmin/DirectoryNames.o ../src/bzadmin/ServerItem.o ../src/bzadmin/ServerList.o ../src/bzadmin/ServerListCache.o ../src/bzadmin/StartupInfo.o ../src/bzadmin/FileManager.o ../src/bzadmin/cURLManager.o  ../src/bzadmin/bzadmin-curses.exe

g++.exe -c ../src/bzadmin/UIMap.cxx -o ../src/bzadmin/UIMap.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"../src/bzflag"  -I"../Dev-C++"  -I"../include"  -I"../Dev-C++"  -D_DEVCPP=1 -Wall -W   -fexpensive-optimizations -fmessage-length=0

In file included from C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tree.h:66,
                 from C:/Dev-Cpp/include/c++/3.4.2/map:66,
                 from ../src/bzadmin/UIMap.h:20,
                 from ../src/bzadmin/UIMap.cxx:17:
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: error: redefinition of `template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)'
../include/common.h:221: error: `template<class comparable> const comparable& std::min(const comparable&, const comparable&)' previously declared here
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:173: error: redefinition of `template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)'
../include/common.h:207: error: `template<class comparable> const comparable& std::max(const comparable&, const comparable&)' previously declared here

C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h: In function `bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)':
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:815: error: call of overloaded `min(const size_t&, const size_t&)' is ambiguous
../include/common.h:221: note: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t]

In file included from C:/Dev-Cpp/include/c++/3.4.2/vector:75,
                 from ../include/Address.h:26,
                 from ../src/bzadmin/BZAdminUI.h:22,
                 from ../src/bzadmin/UIMap.h:23,
                 from ../src/bzadmin/UIMap.cxx:17:
C:/Dev-Cpp/include/c++/3.4.2/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)':
C:/Dev-Cpp/include/c++/3.4.2/bits/vector.tcc:307: error: call of overloaded `max(const size_t&, size_t&)' is ambiguous
../include/common.h:207: note: candidates are: const comparable& std::max(const comparable&, const comparable&) [with comparable = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:173: note:                 const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = size_t]

C:/Dev-Cpp/include/c++/3.4.2/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_range_insert(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
C:/Dev-Cpp/include/c++/3.4.2/bits/vector.tcc:384: error: call of overloaded `max(const size_t&, size_t&)' is ambiguous
../include/common.h:207: note: candidates are: const comparable& std::max(const comparable&, const comparable&) [with comparable = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:173: note:                 const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = size_t]

In file included from C:/Dev-Cpp/include/c++/3.4.2/streambuf:781,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:50,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,

                 from ../include/StateDatabase.h:22,
                 from ../include/global.h:26,
                 from ../src/bzadmin/BZAdminUI.h:24,
                 from ../src/bzadmin/UIMap.h:23,
                 from ../src/bzadmin/UIMap.cxx:17:
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc: In member function `virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(_CharT*, std::streamsize)':
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:54: error: call of overloaded `min(const size_t&, const size_t&)' is ambiguous
../include/common.h:221: note: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc: In member function `virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, std::streamsize)':

C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:88: error: call of overloaded `min(const size_t&, const size_t&)' is ambiguous

../include/common.h:221: note: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t]

In file included from C:/Dev-Cpp/include/c++/3.4.2/locale:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/ostream.tcc:40,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:545,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from ../include/StateDatabase.h:22,

                 from ../include/global.h:26,
                 from ../src/bzadmin/BZAdminUI.h:24,
                 from ../src/bzadmin/UIMap.h:23,
                 from ../src/bzadmin/UIMap.cxx:17:
C:/Dev-Cpp/include/c++/3.4.2/bits/locale_facets.tcc: In function `bool std::__verify_grouping(const char*, size_t, const std::string&)':
C:/Dev-Cpp/include/c++/3.4.2/bits/locale_facets.tcc:2495: error: call of overloaded `min(const size_t&, unsigned int)' is ambiguous
../include/common.h:221: note: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t]

In file included from C:/Dev-Cpp/include/c++/3.4.2/istream:771,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:46,
                 from ../include/StateDatabase.h:22,
                 from ../include/global.h:26,
                 from ../src/bzadmin/BZAdminUI.h:24,
                 from ../src/bzadmin/UIMap.h:23,
                 from ../src/bzadmin/UIMap.cxx:17:
C:/Dev-Cpp/include/c++/3.4.2/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(_CharT*, std::streamsize, _CharT)':
C:/Dev-Cpp/include/c++/3.4.2/bits/istream.tcc:601: error: call of overloaded `min(std::streamsize&, int&)' is ambiguous
../include/common.h:221: note: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = std::streamsize]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = std::streamsize]

C:/Dev-Cpp/include/c++/3.4.2/bits/istream.tcc: In member function `std::streamsize std::basic_istream<_CharT, _Traits>::readsome(_CharT*, std::streamsize)':
C:/Dev-Cpp/include/c++/3.4.2/bits/istream.tcc:744: error: call of overloaded `min(const std::streamsize&, std::streamsize&)' is ambiguous
../include/common.h:221: note: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = std::streamsize]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = std::streamsize]

C:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h: In member function `int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':

C:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h:2128:   instantiated from `bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_function.h:227:   instantiated from `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = std::string]'
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_map.h:338:   instantiated from `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::string, _Tp = BZAdminUI*(*)(BZAdminClient&), _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, BZAdminUI*(*)(BZAdminClient&)> >]'
../src/bzadmin/UIMap.cxx:27:   instantiated from here
C:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h:1858: error: call of overloaded `min(const size_t&, const size_t&)' is ambiguous

../include/common.h:221: note: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = size_t]
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t]

make.exe: *** [../src/bzadmin/UIMap.o] Error 1

Execution terminated