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

Re: Bug#178525: looking for help building xdelta2 with g++ 3.3



On Wed, Jun 11, 2003 at 11:21:35PM +0100, Philip Martin wrote:
>   os << std::setbase(16) << 132;

Ah OK, I was also pointed to:

 os << std::setw(4) << std::hex << 132 << std::dec;

Unfortunately, that will make the code much longer and much less
readable.  And there are also uses of ostrstream::vform(), to apply a
format passed by argument to other arguments.  I guess I'll have to
fallback to vsnprintf() for this, with either the inherent problems of
string-length management.

And I thought C++ was a high-level language :(

Thanks much for your help,
-- 
Yann Dirson    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
Pro:    <yann.dirson@fr.alcove.com> |  Freedom, Power, Stability, Gratuity
     http://ydirson.free.fr/        | Check <http://www.debian.org/>



Reply to: