[Bf-committers] Deprecated header

LarstiQ bf-committers@blender.org
Tue, 6 May 2003 13:29:53 +0200


On Sat, May 03, 2003 at 11:19:44PM +0200, Kino wrote:
<snip>
> In file included from /usr/include/g++/backward/iostream.h:31,
>                  from
> ../../../../source/blender/render/intern/include/RE_ShadowBuffer.h:36,
>                  from
> ../../../../source/blender/render/intern/source/shadowBuffer.cpp:38:
> /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This
> file includes at least one deprecated or antiquated header. Please consider
> using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
> Examples include substituting the <X> header for the <X.h> header for C++
> includes, or <sstream> instead of the deprecated header <strstream.h>. To
> disable this warning use -Wno-deprecated.


This is just a warning, it is issued by gcc versions 3.x, being stricter
than 2.95 was when it comes to C++. In this case it is the inclusion of
<iostream.h> instead of <iostream>. The difference between the two is in
which namespace they operate. 

Blender has quite a lot of these warnings, you could try to find them
all, investigate which can be simply replaced and which need a bit more
work if you want to, but it isn't critical. There is nothing wrong with
your television ;)

LarstiQ