AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.04.15 22:19 "ostringstream", by Christian Henning
2009.04.16 03:30 "Re: ostringstream", by Edward Lam

2009.04.16 03:30 "Re: ostringstream", by Edward Lam

Unless you haven't realized it yet, welcome to iostream hell. :)

Libtiff heavily depends on seeking. I'd confirm that your ostringstream 
implementation supports seeking properly. Last I tried seeking with 
ostrstream, it was heavily broken on Linux but then I don't develop on 
it as my main platform. It may very well extend into their ostringstream 
implementation.

-Edward

Christian Henning wrote:
> Hi there, while testing the streaming facilities, I came across a
> problem with using std::ostringstream. The buffer is empty after
> writing. Is this a known issue? I tried, std::stringstream and
> std::ofstream and both work.
> 
> Regards,
> Christian
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/