Subject: chat/centericq-4.21.0 won't build on NetBSD/alpha 1.6.2_STABLE
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.org>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 05/26/2006 14:14:47
--pgp-sign-Multipart_Fri_May_26_14:14:45_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

C++ boggles my mind.  Any idea what's up with this?

This is on a 1.6.2_STABLE alpha machine with:

$ c++ -v
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)


c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../../connwrap -I../../connwrap-0.1    -=
O2 -mno-soft-float -mcpu=3D21164a -g -I/usr/include -I/usr/pkg/include -I/u=
sr/pkg/include -I/usr/pkg/include -c message.cpp
message.cpp: In method `const class vector<int,allocator<int> > MSN::Messag=
e::getColor() const':
message.cpp:121: call of overloaded `insert(unsigned int, long unsigned int=
, char)' is ambiguous
/usr/include/g++/std/bastring.h:251: candidates are: class basic_string<cha=
r,string_char_traits<char>,__default_alloc_template<false,0> > & basic_stri=
ng<char,string_char_traits<char>,__default_alloc_template<false,0> >::inser=
t(long unsigned int, long unsigned int, char)
/usr/include/g++/std/bastring.h:257:                 char * basic_string<ch=
ar,string_char_traits<char>,__default_alloc_template<false,0> >::insert(cha=
r *, long unsigned int, char)
message.cpp: In method `void MSN::Message::setColor(basic_string<char,strin=
g_char_traits<char>,__default_alloc_template<false,0> >)':
message.cpp:164: call of overloaded `insert(unsigned int, long unsigned int=
, char)' is ambiguous
/usr/include/g++/std/bastring.h:251: candidates are: class basic_string<cha=
r,string_char_traits<char>,__default_alloc_template<false,0> > & basic_stri=
ng<char,string_char_traits<char>,__default_alloc_template<false,0> >::inser=
t(long unsigned int, long unsigned int, char)
/usr/include/g++/std/bastring.h:257:                 char * basic_string<ch=
ar,string_char_traits<char>,__default_alloc_template<false,0> >::insert(cha=
r *, long unsigned int, char)
gmake[5]: *** [message.o] Error 1
gmake[5]: Leaving directory `/build/package-obj/chat/centericq/work/centeri=
cq-4.21.0/libmsn-0.1/msn'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/build/package-obj/chat/centericq/work/centeri=
cq-4.21.0/libmsn-0.1/msn'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/build/package-obj/chat/centericq/work/centeri=
cq-4.21.0/libmsn-0.1'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/build/package-obj/chat/centericq/work/centeri=
cq-4.21.0/libmsn-0.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/build/package-obj/chat/centericq/work/centeri=
cq-4.21.0'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Fri_May_26_14:14:45_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: Le+s0CY6O5LB+5iF2o2a1ieweV9XUKFq

iQA/AwUBRHdFlmJ7XxTCWceFEQJ4OACfWZJ8/oGvXf8I+Zd5V+l7R6jzKBgAoPkY
ZNC3H0S7Qico94z5p2rVwtMD
=8594
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Fri_May_26_14:14:45_2006-1--