[Bf-committers] my first little patch

John K. Walton bf-committers@blender.org
Fri, 8 Aug 2003 18:11:09 -0400 (EDT)


this has been discussed lots of times before. how about we leave it
alone.


On Fri, 8 Aug 2003, Engel Sanchez wrote:

> 
> Hi, everybody. I'd like somebody to check this simple patch that basically changes all the 
> 
> #include <iostream.h> 
> 
>  to
> 
> #include <iostream>
> 
> Which is what the C++ standard defines (<iostream.h> is a transitional syntax that many compilers still support). Simple, right? :)
> 
> This is one of the few things I had to change in the code to get it to compile in MS Visual C++ 7.1. More to come. I'm trying to take baby steps, and hopefully contribute important stuff later. Let me know if there's a better way to submit these patches.
> 
> Here it is, and also as an attachment. Later!
> 
> Index: source/blender/render/intern/include/RE_ShadowBuffer.h
> ===================================================================
> RCS file: /cvsroot/bf-blender/blender/source/blender/render/intern/include/RE_ShadowBuffer.h,v
> retrieving revision 1.5
> diff -u -r1.5 RE_ShadowBuffer.h
> --- source/blender/render/intern/include/RE_ShadowBuffer.h 27 Dec 2002 13:10:33 -0000 1.5
> +++ source/blender/render/intern/include/RE_ShadowBuffer.h 8 Aug 2003 15:12:56 -0000
> @@ -33,7 +33,7 @@
>  #ifndef RE_SHADOWBUFFER_H
>  #define RE_SHADOWBUFFER_H
>  
> -#include <iostream.h>
> +#include <iostream>
>  
>  struct ShadBuf;
>  struct LampRen;
> Index: source/gameengine/GameLogic/SCA_IInputDevice.cpp
> ===================================================================
> RCS file: /cvsroot/bf-blender/blender/source/gameengine/GameLogic/SCA_IInputDevice.cpp,v
> retrieving revision 1.3
> diff -u -r1.3 SCA_IInputDevice.cpp
> --- source/gameengine/GameLogic/SCA_IInputDevice.cpp 25 Nov 2002 15:29:42 -0000 1.3
> +++ source/gameengine/GameLogic/SCA_IInputDevice.cpp 8 Aug 2003 15:12:57 -0000
> @@ -29,7 +29,7 @@
>   * ***** END GPL/BL DUAL LICENSE BLOCK *****
>   */
>  
> -#include <iostream.h>
> +#include <iostream>
>  #include "SCA_IInputDevice.h"
>  
>  #ifdef HAVE_CONFIG_H
> Index: source/gameengine/GameLogic/SCA_KeyboardManager.cpp
> ===================================================================
> RCS file: /cvsroot/bf-blender/blender/source/gameengine/GameLogic/SCA_KeyboardManager.cpp,v
> retrieving revision 1.3
> diff -u -r1.3 SCA_KeyboardManager.cpp
> --- source/gameengine/GameLogic/SCA_KeyboardManager.cpp 25 Nov 2002 15:29:42 -0000 1.3
> +++ source/gameengine/GameLogic/SCA_KeyboardManager.cpp 8 Aug 2003 15:12:57 -0000
> @@ -32,7 +32,7 @@
>   * ***** END GPL/BL DUAL LICENSE BLOCK *****
>   */
>  
> -#include <iostream.h>
> +#include <iostream>
>  #include "BoolValue.h"
>  #include "SCA_KeyboardManager.h"
>  #include "SCA_KeyboardSensor.h"
> Index: source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp
> ===================================================================
> RCS file: /cvsroot/bf-blender/blender/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp,v
> retrieving revision 1.3
> diff -u -r1.3 GPC_KeyboardDevice.cpp
> --- source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp 25 Nov 2002 15:29:45 -0000 1.3
> +++ source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp 8 Aug 2003 15:12:57 -0000
> @@ -30,7 +30,7 @@
>   * ***** END GPL/BL DUAL LICENSE BLOCK *****
>   */
>  
> -#include <iostream.h>
> +#include <iostream>
>  #include "GPC_KeyboardDevice.h"
>  
>  #ifdef HAVE_CONFIG_H
> 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software