Bug#568620: help on porting to s390
Christophe Prud'homme
prudhomm at debian.org
Tue Feb 16 10:26:52 UTC 2010
Hi Jonathan,
thanks for your comments. I think that the problem is with the
string::size() function
I will check on porterbox what happens exactely.
Best regards
C.
On Tue, Feb 16, 2010 at 9:37 AM, Jonathan Nieder <jrnieder at gmail.com> wrote:
> Looking at application.cpp, it seems the value to be printed is of
> type std::string::size_type. Looking at debug.hpp, it seems that
> operator<< accepts an int32_t uint32_t, int64_t, or uint64_t, but does
> not mention string::size_type by name in its list of signatures.
>
> Chasing definitions from /usr/include/c++/<whatever>/string, it seems
> that string::size_type is size_t. So one problem is that although
> size_t may have the same range of values and representation as one of
> the four types listed above, it is not necessarily the same type, so
> the compiler can complain.
More information about the debian-science-maintainers
mailing list