All pastes #369300 Raw Edit

patch

public text v1 · immutable
#369300 ·published 2007-02-23 19:10 UTC
rendered paste body
if g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.  -I./lua -I./sqlite   -DNDEBUG -DBOOST_DISABLE_THREADS -DBOOST_SP_DISABLE_THREADS -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION   -g -O2 -Wall -W -Wno-unused -fno-strict-aliasing -MT mtn-asciik.o -MD -MP -MF ".deps/mtn-asciik.Tpo" -c -o mtn-asciik.o `test -f 'asciik.cc' || echo './'`asciik.cc; \
        then mv -f ".deps/mtn-asciik.Tpo" ".deps/mtn-asciik.Po"; else rm -f ".deps/mtn-asciik.Tpo"; exit 1; fi
asciik.cc: In member function 'bool asciik::try_draw(const std::vector<revision<hexenc<id> >, std::allocator<revision<hexenc<id> > > >&, size_t, const std::set<revision<hexenc<id> >, std::less<revision<hexenc<id> > >, std::allocator<revision<hexenc<id> > > >&, const std::string&) const':
asciik.cc:297: error: call of overloaded 'abs(unsigned int)' is ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:97: note:                 long double std::abs(long double)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:93: note:                 float std::abs(float)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:89: note:                 double std::abs(double)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cstdlib:172: note:                 long long int __gnu_cxx::abs(long long int)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cstdlib:142: note:                 long int std::abs(long int)
asciik.cc:316: error: call of overloaded 'abs(unsigned int)' is ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:97: note:                 long double std::abs(long double)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:93: note:                 float std::abs(float)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:89: note:                 double std::abs(double)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cstdlib:172: note:                 long long int __gnu_cxx::abs(long long int)
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cstdlib:142: note:                 long int std::abs(long int)
make[2]: *** [mtn-asciik.o] Error 1