S
Saurabh Aggrawal
Hi,
I am porting a 32 bit code to 64 bit.I am compiling the code with
64-bit compiler for AMD machine. I am getting the following errors
which are related to STL Library.
Processing directory Ui...
cframe.cpp
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(102) : warning
C4346: 'std::vector<_Ty>::iterator' : dependent name is not a type
prefix with 'typename' to indicate a type
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(104) :
see reference to class template instantiation 'VectorIterator<Item>'
being compiled
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(102) : error
C2146: syntax error : missing ';' before identifier '_iterator'
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(102) : error
C2501: 'VectorIterator<Item>::_iterator' : missing storage-class or
type specifiers
cframe.cpp(24) : error C2552: 'cfMethods' : non-aggregates cannot be
initialized with initializer list
'std::basic_string<_E,_Tr,_A>' : Types with private or
protected data members are not aggregate
with
[
_E=wchar_t,
_Tr=std::char_traits<wchar_t>,
_A=std::allocator<wchar_t>
]
I have included the path for STL which is
C:\SDKs\srv2003sdk\include\Win64\crt
Any suggestions are welcome,
Thanks,
Saurabh Aggrawal
I am porting a 32 bit code to 64 bit.I am compiling the code with
64-bit compiler for AMD machine. I am getting the following errors
which are related to STL Library.
Processing directory Ui...
cframe.cpp
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(102) : warning
C4346: 'std::vector<_Ty>::iterator' : dependent name is not a type
prefix with 'typename' to indicate a type
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(104) :
see reference to class template instantiation 'VectorIterator<Item>'
being compiled
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(102) : error
C2146: syntax error : missing ';' before identifier '_iterator'
G:\NewUIPackers\drivers\Unser\public\VectorIterator.h(102) : error
C2501: 'VectorIterator<Item>::_iterator' : missing storage-class or
type specifiers
cframe.cpp(24) : error C2552: 'cfMethods' : non-aggregates cannot be
initialized with initializer list
'std::basic_string<_E,_Tr,_A>' : Types with private or
protected data members are not aggregate
with
[
_E=wchar_t,
_Tr=std::char_traits<wchar_t>,
_A=std::allocator<wchar_t>
]
I have included the path for STL which is
C:\SDKs\srv2003sdk\include\Win64\crt
Any suggestions are welcome,
Thanks,
Saurabh Aggrawal