Bug#396283: libvtk5-dev includes deprecated C++ header

2006-10-30 Thread Jordi Gutierrez Hermoso

Package: libvtk5-dev
Version: 5.0.1-4 0

The file /usr/include/vtk-5.0/vtkIOStream.h #includes strstream
apparently believing it is complying with the modern C++ ANSI
standard, but it's not. It should be using sstream instead.

Grepping through the other header files in the same directory, it
appears that the string strstream only appears in the following
header files:

vtkIOStream.h
vtkOStrStreamWrapper.h:
vtkSystemIncludes.h

Changing the only instances of strstreams in vtkIOStream.h with
stringstreams and strstream with sstream seems to have broken
nothing.

- Jordi G. H.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#396283: libvtk5-dev includes deprecated C++ header

2006-10-30 Thread Mathieu Malaterre

This is not enough to be grep'ing for #include you should also grep
for use of old deprecated syntax: strstream and co.

This is part of a larger bug:
http://vtk.org/Bug/bug.php?op=showbugid=1953

--
Mathieu


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]