Problem in compiling a VC++ Studio Project on VC++.Net Plateform.
From: Ram Kumar (efextra_at_newsgroups.nospam)
Date: 07/14/04
- Next message: Tom Mejer Antonsen: "Binary read/write to a PCMICA (PC Card)"
- Previous message: Oleg Starodumov: "Re: Can rebasing affect correctness of information in the map file generated before?"
- Next in thread: Bo Persson: "Re: Problem in compiling a VC++ Studio Project on VC++.Net Plateform."
- Reply: Bo Persson: "Re: Problem in compiling a VC++ Studio Project on VC++.Net Plateform."
- Reply: Gary Chang: "RE: Problem in compiling a VC++ Studio Project on VC++.Net Plateform."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Jul 2004 16:56:48 +0530
Hi,
I'm upgrading a VC++ Studio Project on VC++.Net Platform. In this project,
it has been used "byteSafeVector". and so related header file
"T_SafeVector.h". There is no build problem on VC++ Studio 6.0 Platform. But
when I'm compiling it on VC++.Net 2003 Platform, I find following error
messages-
d:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\T_SafeVector.h(74) : warning C4346:
'TNContainer::iterator' : dependent name is not a type
prefix with 'typename' to indicate a type
d:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\T_SafeVector.h(119) : see reference to class
template instantiation 'T_SAExtractScaler<TNContainer,TNDataType>' being
compiled
d:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\T_SafeVector.h(74) : error C2061: syntax error
: identifier 'iterator'
Obviously I can't modify the header file by prefixing typename at those
errors & warning places.
These errors & warning are in following way in T_SafeVector.h
//t_safevector.h file
....
void GetFromContainer
(
TNContainer& _cont,
void * pData,
TNContainer::iterator walk, <=warning C4346: 'TNContainer::iterator' :
dependent name is not a type
......
.....
Kindly help me.
Ram Kumar
- Next message: Tom Mejer Antonsen: "Binary read/write to a PCMICA (PC Card)"
- Previous message: Oleg Starodumov: "Re: Can rebasing affect correctness of information in the map file generated before?"
- Next in thread: Bo Persson: "Re: Problem in compiling a VC++ Studio Project on VC++.Net Plateform."
- Reply: Bo Persson: "Re: Problem in compiling a VC++ Studio Project on VC++.Net Plateform."
- Reply: Gary Chang: "RE: Problem in compiling a VC++ Studio Project on VC++.Net Plateform."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|