[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help on porting to s390

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

On Tue, Feb 16, 2010 at 9:37 AM, Jonathan Nieder <jrnieder@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.

Reply to: