|
![](/i/fill.gif) |
I just tried to compile beta 37 with Visual C++ 2010. I got it working
eventually, but there is at least one major problem that needs to be
fixed. The code uses 'shared_ptr' without a namespace qualifier, and
instead imports the entire 'boost' namespace. However, because the code
also imports the entire 'std' namespace there is a conflict between the
'shared_ptr' from Boost and the one in the standard library (one of the
C++0x features in VC2010). Fully qualifying each and every reference to
'shared_ptr' (thank you, "Replace in files") of course fixes this
particular problem.
Linux users may run into the same problem if/when they upgrade to a newer
version of libstdc++. A similar conflict can be expected for
'boost::thread' as well.
Why does the POV-Ray code blindly import whole namespaces anyway? There is
a reason why 'using namespace' statements are considered poor practice.
--
Fredrik Eriksson
fe7### [at] yahoo com
Post a reply to this message
|
![](/i/fill.gif) |