|
![](/i/fill.gif) |
Christian Froeschlin wrote:
> Finally, isn't the actual problem that there are name collisions
> between the POV Code and Platform Includes? Wouldn't the solution
> be to replace, e.g., IStream with pov_base::IStream instead of
> depending on the include location of windows.h?
POV-Ray stuff is already in a namespace. The big problem with windows.h is
that it defines *macros*. If you have a my_namespace::MyClass::OpenFile
method, and you included windows.h, you'll get annoying error messages
about OpenFileA [sic!] not being defined.
Post a reply to this message
|
![](/i/fill.gif) |