Anders Misfeldt - 2005-04-01

Hi,

I get the following errors when running make in Mdk10.1... What's wrong?

/usr/include/features.h:132:1: warning: this is the location of the previous definition
In file included from datatypes.cpp:47:
topython.cpp: In member function `PyObject* Data_< <template-parameter-1-1> >::ToPython()':
topython.cpp:92: error: there are no arguments to `TypeStr' that depend on a template parameter, so a declaration of `TypeStr' must be available
topython.cpp:92: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
topython.cpp:94: error: `dim' undeclared (first use this function)
topython.cpp:94: error: (Each undeclared identifier is reported only once for each function it appears in.)
topython.cpp: In member function `PyObject* Data_< <template-parameter-1-1> >::ToPythonScalar()':
topython.cpp:105: error: there are no arguments to `TypeStr' that depend on a template parameter, so a declaration of `TypeStr' must be available
datatypes.cpp: In member function `int Data_< <template-parameter-1-1> >::Scalar2index(SizeT&) const [with Sp = SpDByte]':
datatypes.cpp:2116:   instantiated from here
datatypes.cpp:448: warning: comparison is always false due to limited range of data type
datatypes.cpp: In member function `int Data_< <template-parameter-1-1> >::Scalar2index(SizeT&) const [with Sp = SpDUInt]':
datatypes.cpp:2118:   instantiated from here
datatypes.cpp:448: warning: comparison is always false due to limited range of data type

/A