Subject: Re: pkgsrc IRIX64 6.5/mipseb bulk build results 2005-07-10
To: Roland Illig <rillig@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: pkgsrc-bulk
Date: 07/15/2005 14:21:35
--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Roland Illig <rillig@NetBSD.org> wrote:
> Jan Schaumann wrote:
> >audio/id3lib                       10      tech-pkg@NetBSD.org
=20
> What about this patch?

No luck, it seems:

 CC -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include
-DID3_NEED_WCHAR_TEMP
LATE -I/scratch/audio/id3lib/work.beamish/.buildlink/include -O2 -64 -c
field_bi
nary.cpp -Wp,-MDupdate,.deps/field_binary.TPlo  -DPIC -o
=2Elibs/field_binary.o
cc-1282 CC: ERROR File =3D /usr/include/CC/string, Line =3D 622
  More than one instance of overloaded function "min" matches the
argument list.

  Function symbol function template "dami::min(const T &, const T &)"
           is ambiguous by inheritance.
  Function symbol function template
           "std::min(const _Tp &, const _Tp &)" is ambiguous by
           inheritance.
  The argument types are:  (std::basic_string<unsigned char,
           std::char_traits<unsigned char>, std::allocator<unsigned
                      char>>::size_type, unsigned long).
                    __s.begin() + __pos + min(__n, __s.size() - __pos));
                                          ^
     detected during instantiation of "std::basic_string<unsigned char,
           std::char_traits<unsigned char>, std::allocator<unsigned
           char>> &std::basic_string<unsigned char,
           std::char_traits<unsigned char>, std::allocator<unsigned
           char>>::assign(const std::basic_string<unsigned char,
           std::char_traits<unsigned char>, std::allocator<unsigned
           char>> &, std::basic_string<unsigned char,
           std::char_traits<unsigned char>, std::allocator<unsigned
           char>>::size_type, std::basic_string<unsigned char,
           std::char_traits<unsigned char>, std::allocator<unsigned
           char>>::size_type)" at line 69 of "field_binary.cpp"

1 error detected in the compilation of "field_binary.cpp".
*** Error code 1

> The erase<> function uses some (unqualified) min<>. Is there a way how=20
> to specify precedence of one of the namespaces? Like this:
>=20
>     using namespace std {
>         _binary.erase();
>     };

Dunno, sorry.

-Jan

--=20
   This is so cool I have to go to the bathroom.

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFC1/6vfFtkr68iakwRAh8LAKCjP3ufdwl2w3RRik3X1Z0aV7xARQCg7BoU
r3WA6h52MUoQyrL3i3FaPBc=
=lE2m
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--