R
Riaan
I am compiling my app (including CODEBASE database headers) but as soon as i
compile it gives me the following errors :
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(81) : warning
C4346: '_It::iterator_category' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(84) : see
reference to class template instantiation 'std::iterator_traits<_It>' being
compiled
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(81) : error
C2146: syntax error : missing ';' before identifier 'iterator_category'
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(81) : error
C2501: 'std::iterator_traits<_It>::iterator_category' : missing
storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(82) : warning
C4346: '_It::value_type' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(82) : error
C2146: syntax error : missing ';' before identifier 'value_type'
Is there a flag or something I must set, or why is it complaining about this
headers ?
compile it gives me the following errors :
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(81) : warning
C4346: '_It::iterator_category' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(84) : see
reference to class template instantiation 'std::iterator_traits<_It>' being
compiled
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(81) : error
C2146: syntax error : missing ';' before identifier 'iterator_category'
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(81) : error
C2501: 'std::iterator_traits<_It>::iterator_category' : missing
storage-class or type specifiers
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(82) : warning
C4346: '_It::value_type' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(82) : error
C2146: syntax error : missing ';' before identifier 'value_type'
Is there a flag or something I must set, or why is it complaining about this
headers ?