[C++-sig] Build errors with VC6
Dave Hawkes
daveh at cadlink.com
Tue Jul 16 18:50:45 CEST 2002
I'm currently getting build errors (clean source from CVS!) with VC6 in a
number of places ie:
h:\projects\boost2\libs\python\src\converter\from_python.cpp(225) : error
C2955: 'type' : use of class template requires template argument list
h:\projects\boost2\boost\type.hpp(15) : see declaration of 'type'
This appears to be due to the declaration.
BOOST_PYTHON_DECL python::detail::new_reference
pytype_result_from_python(PyTypeObject* type, PyObject* source)
getting the type identifier from.
namespace boost {
// Just a simple "type envelope". Useful in various contexts, mostly to
work
// around some MSVC deficiencies.
template <class T>
struct type {};
}
Though I don't know why as the namespaces should prevent it.
Dave Hawkes
More information about the Cplusplus-sig
mailing list