On Tue, May 19, 2009 at 08:20:49PM +0200, Jürgen Spitzmüller wrote: > Enrico Forestieri wrote: > > &outbuf[0] > > Thanks. Seems to work for me. > > Uwe, can you try the attached patch? > > Jürgen
> Index: src/support/unicode.cpp > =================================================================== > --- src/support/unicode.cpp (Revision 29736) > +++ src/support/unicode.cpp (Arbeitskopie) > @@ -236,7 +236,7 @@ > // FIXME Maybe throw an exception and handle that in the caller? > return vector<RetType>(); > > - RetType const * tmp = reinterpret_cast<RetType const *>(outbuf.data()); > + RetType const * tmp = reinterpret_cast<RetType const *>(&outbuf[0]); What compiler is that btw? Andre'