Subject: Re: pkgsrc IRIX64 6.5/mipseb bulk build results 2005-07-10
To: None <pkgsrc-bulk@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: pkgsrc-bulk
Date: 07/30/2005 22:55:33
Jan Schaumann wrote:
> Roland Illig <rillig@NetBSD.org> wrote:
>>Jan Schaumann wrote:
>>>Roland Illig <rillig@NetBSD.org> wrote:
>>>>Jan Schaumann wrote:
>>>>
>>>>>audio/id3lib                       10      tech-pkg@NetBSD.org
>>>>What about this patch?
>>>No luck, it seems:
>>Next try.
> 
> Sorry for the delay -- I had to wait for the bulk-build to complete
> before I could try this... but anyway, still no luck:

But much better than before.

> cc-1262 CC: ERROR File = tag_file.cpp, Line = 273
>   No instance of constructor
>           "std::basic_ofstream<char,
> std::char_traits<char>>::basic_ofstream"
>           matches the argument list.
> 
>             The argument types are:  (int).
>       ofstream tmpOut(fd);
>                       ^

basic_ofstream(int) is an extension to the C++ standard. This should be 
changed to basic_ofstream(const char *).

> 
> cc-1164 CC: ERROR File = tag_file.cpp, Line = 288
>   Argument of type "uchar *" is incompatible with parameter of type
>           "std::basic_istream<char, std::char_traits<char>>::char_type
> *".
> 
>         file.read(tmpBuffer, BUFSIZ);
 >                   ^

file.read((char *)tmpBuffer, BUFSIZ);

> cc-1164 CC: ERROR File = tag_file.cpp, Line = 290
>   Argument of type "uchar *" is incompatible with parameter of type
>           "const std::basic_ostream<char,
> std::char_traits<char>>::char_type *"
>           .
> 
>         tmpOut.write(tmpBuffer, nBytes);
>                      ^

tmpOut.write((char *)tmpBuffer, nBytes);

Roland