lots of problems VC7.1

"mascix" <[email protected]> Wed, 21 Jan 2004 12:52:06 +0200
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
my name is özkan pakdil. I am developing http://s3dmesh.sf.net and tring to
make solver for FEM now. and MTL and ITL giving me hard time. I am using
VS7.1 and QT3.2.2 in win32 and these are the errors that I have from VS.
thanks.

c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(87): error C2039: '_Ptrit' : is
not a member of 'std'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(87): error C2143: syntax error
: missing ';' before '<'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(87): error C2238: unexpected
token(s) preceding ';'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(88): error C2039: '_Ptrit' : is
not a member of 'std'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(88): error C2059: syntax error
: '<'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(88): error C2238: unexpected
token(s) preceding ';'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(90): error C2065:
'ptr_iterator' : undeclared identifier
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(92): error C2065:
'ptr_const_iterator' : undeclared identifier
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(102): error C3203:
'dense_iterator' : class template invalid as template argument for template
parameter 'Iter', expected a real type
c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(104): error C3203:
'dense_iterator' : class template invalid as template argument for template
parameter 'Iter', expected a real type
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(506): error C2039: 'value_type' : is not a member
of 'std::iterator_traits<int>'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(168) : see declaration of
'std::iterator_traits<int>'
        c:\Qt\3.2.2Educational\s3dmesh\mtl\reverse_iter.h(39) : see
reference to class template instantiation 'std::reverse_iterator<_RanIt>'
being compiled
        with
        [
            _RanIt=int
        ]
        c:\Qt\3.2.2Educational\s3dmesh\mtl\light1D.h(148) : see reference to
class template instantiation 'mtl::reverse_iter<Iter>' being compiled
        with
        [
            Iter=int
        ]
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(506): error C2146: syntax error : missing ','
before identifier 'value_type'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(506): error C2065: 'value_type' : undeclared
identifier
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(507): error C2039: 'difference_type' : is not a
member of 'std::iterator_traits<int>'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(168) : see declaration of
'std::iterator_traits<int>'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(507): error C2146: syntax error : missing ','
before identifier 'difference_type'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(507): error C2065: 'difference_type' : undeclared
identifier
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(508): error C2039: 'pointer' : is not a member of
'std::iterator_traits<int>'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(508): error C2146: syntax error : missing ','
before identifier 'pointer'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(508): error C2065: 'pointer' : undeclared
identifier
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(509): error C2039: 'reference' : is not a member
of 'std::iterator_traits<int>'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(168) : see declaration of
'std::iterator_traits<int>'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(509): error C2146: syntax error : missing ','
before identifier 'reference'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(509): error C2065: 'reference' : undeclared
identifier
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(509): error C2976: 'std::iterator' : too few
template arguments
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(66) : see declaration of 'std::iterator'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(513): error C2039: 'difference_type' : is not a
member of 'std::iterator_traits<int>'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(168) : see declaration of
'std::iterator_traits<int>'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(514): error C2039: 'pointer' : is not a member of
'std::iterator_traits<int>'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(168) : see declaration of
'std::iterator_traits<int>'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(515): error C2039: 'reference' : is not a member
of 'std::iterator_traits<int>'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\xutility(168) : see declaration of
'std::iterator_traits<int>'
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(415): error C2039: '_Ptrit'
: is not a member of 'std'
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(415): error C2143: syntax
error : missing ';' before '<'
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(415): error C2238:
unexpected token(s) preceding ';'
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(416): error C2039: '_Ptrit'
: is not a member of 'std'
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(416): error C2059: syntax
error : '<'
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(416): error C2238:
unexpected token(s) preceding ';'
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(418): error C3861:
'ptr_iterator': identifier not found, even with argument-dependent lookup
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(419): error C3861:
'ptr_const_iterator': identifier not found, even with argument-dependent
lookup
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(428): error C3203:
'dense_iterator' : class template invalid as template argument for template
parameter 'Iter', expected a real type
c:\Qt\3.2.2Educational\s3dmesh\mtl\linalg_vec.h(430): error C3203:
'dense_iterator' : class template invalid as template argument for template
parameter 'Iter', expected a real type
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(128): warning C4346:
'mtl::light_matrix<T,SizeType,Orien,Strided>::oned::value_type' : dependent
name is not a type
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(128): error C2146: syntax
error : missing ';' before identifier 'value_type'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(128): error C2838:
'value_type' : illegal qualified name in member declaration
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(128): error C2208: 'T1' :
no members defined using this type
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(130): warning C4346:
'mtl::light_matrix<T,SizeType,Orien,Strided>::oned::size_type' : dependent
name is not a type
        prefix with 'typename' to indicate a type
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(130): error C2146: syntax
error : missing ';' before identifier 'size_type'
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(130): error C2838:
'size_type' : illegal qualified name in member declaration
c:\Qt\3.2.2Educational\s3dmesh\mtl\light_matrix.h(130): error C2208: 'T2' :
no members defined using this type
c:\Qt\3.2.2Educational\s3dmesh\mtl\dense2D.h(200): error C2065: 'x' :
undeclared identifier
c:\Qt\3.2.2Educational\s3dmesh\mtl\dense2D.h(201): error C2433:
'mtl::rect_offset<size_t,MM,NN>::__ctor' : 'inline' not permitted on data
declarations
c:\Qt\3.2.2Educational\s3dmesh\mtl\dense2D.h(201): warning C4346:
'mtl::rect_offset<size_t,MM,NN>::transpose_type' : dependent name is not a
type
        prefix with 'typename' to indicate a type
c:\Qt\3.2.2Educational\s3dmesh\mtl\dense2D.h(201): error C2350:
'mtl::rect_offset<size_t,MM,NN>::__ctor' is not a static member
c:\Qt\3.2.2Educational\s3dmesh\mtl\dense2D.h(199): error C3856:
'mtl::rect_offset<size_t,MM,NN>::__ctor': class is not a class template
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(751): warning C4003: not enough
actual parameters for macro 'max'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(751): error C2226: syntax error :
unexpected type 'VectorT'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(751): error C2988: unrecognizable
template declaration/definition
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(751): error C2059: syntax error :
')'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(751): error C2059: syntax error :
')'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(765): error C2653: 'VectorT' : is
not a class or namespace name
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(766): warning C4003: not enough
actual parameters for macro 'min'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(766): error C2988: unrecognizable
template declaration/definition
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(766): error C2059: syntax error :
')'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(766): error C2059: syntax error :
')'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(767): error C2143: syntax error :
missing ';' before '{'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(767): error C2447: '{' : missing
function header (old-style formal list?)
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1046): error C2906:
'mtl::givens_rotation<std::complex<double>>' : explicit specialization
requires 'template <>'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1051): error C3861: 'cs':
identifier not found, even with argument-dependent lookup
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1051): error C2433:
'mtl::givens_rotation<std::complex<double>>::__ctor' : 'inline' not
permitted on data declarations
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1051): error C2461:
'mtl::givens_rotation<std::complex<double>>' : constructor syntax missing
formal parameters
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1051): error C2059: syntax error :
'constant'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1055): error C2143: syntax error :
missing ';' before '{'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1055): error C2334: unexpected
token(s) preceding '{'; skipping apparent function body
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1056): error C2059: syntax error :
'return'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1056): error C2238: unexpected
token(s) preceding ';'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1057): error C2146: syntax error :
missing ';' before identifier 'abs1'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1057): error C2065: 'C' :
undeclared identifier
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1057): error C2146: syntax error :
missing ')' before identifier 't'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1057): error C2501: 'abs1' :
missing storage-class or type specifiers
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1057): error C2059: syntax error :
')'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1057): error C2143: syntax error :
missing ';' before '{'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1057): error C2447: '{' : missing
function header (old-style formal list?)
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1060): error C2955:
'mtl::givens_rotation' : use of class template requires template argument
list
        c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(917) : see declaration of
'mtl::givens_rotation'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1060): error C2146: syntax error :
missing ')' before identifier 'a_in'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1060): error C2146: syntax error :
missing ';' before identifier 'a_in'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1060): error C2146: syntax error :
missing ';' before identifier 'b_in'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1060): error C2059: syntax error :
')'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1060): error C2470: 'b_in' : looks
like a function definition, but there is no formal parameter list; skipping
apparent body
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1134): error C3861: 'C': identifier
not found, even with argument-dependent lookup
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1134): error C3861: 'x': identifier
not found, even with argument-dependent lookup
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1134): error C2065: 'y' :
undeclared identifier
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1134): error C3861: 'C': identifier
not found, even with argument-dependent lookup
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1134): error C2448: 'scalar_apply'
: function-style initializer appears to be a function definition
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1139): error C2146: syntax error :
missing ';' before identifier 'c'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1139): error C2501: 'T' : missing
storage-class or type specifiers
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1139): error C3861: 'cs':
identifier not found, even with argument-dependent lookup
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1140): error C2146: syntax error :
missing ';' before identifier 's'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1140): error C2501: 'C' : missing
storage-class or type specifiers
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1140): error C2065: 'sn' :
undeclared identifier
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1144): error C2059: syntax error :
'protected'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1145): error C2146: syntax error :
missing ';' before identifier 'cs'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1145): error C2501: 'T' : missing
storage-class or type specifiers
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1145): error C2086: 'int std::T' :
redefinition
        c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1139) : see declaration of
'std::T'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1145): error C2501: 'cs' : missing
storage-class or type specifiers
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1146): error C2146: syntax error :
missing ';' before identifier 'sn'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1146): error C2501: 'C' : missing
storage-class or type specifiers
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1146): error C2086: 'int std::C' :
redefinition
        c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1140) : see declaration of
'std::C'
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1146): error C2501: 'sn' : missing
storage-class or type specifiers
c:\Qt\3.2.2Educational\s3dmesh\mtl\mtl.h(1150): fatal error C1506:
unrecoverable block scoping error
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/