OpenImageIO/oiio — pull request #188 by mgmt1969 (2011-10-31 06:33:56+00:00)
Title: Removed Microsoft Visual Studio compilation warnings from the oiio command line tools

Oiio generates numerous compilation warnings with Visual Studio. Trying to remove them all is a daunting task so I went for the middle ground and removed only those warnings present in the public oiio header files and in the command line tools. The remaining warnings, in the internals of the oiio library, can then be shut up conveniently by simply disabling all warnings in the library's .vcproj file.

The fixes I made are a mixture of actual code changes, where I thought that the code would be improved as a result of removing the warning, and insertions of simple msvc #pragma warning disable commands, in those cases where the warning is clearly harmless and there was nothing to gain by modifying the code to remove it.