H
hockeymtl
Guest
Im trying to compile a DLL created in VC++ 6.0 in VC++ 2005.
I have the following errors :
Error 40 error C2146: syntax error : missing ';' before identifier 'm_CurrentIterator' c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Error 41 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Error 118 error C2146: syntax error : missing ';' before identifier 'm_CurrentIterator' c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Error 119 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Here's the code used :
#include
<iostream>
#include <list>
using
namespace std;
template
<class T>
class xObjList {
Continue reading...
I have the following errors :
Error 40 error C2146: syntax error : missing ';' before identifier 'm_CurrentIterator' c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Error 41 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Error 118 error C2146: syntax error : missing ';' before identifier 'm_CurrentIterator' c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Error 119 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\EMERGE_4_0\development\BaseObject\Include\IP5STLList.h 58
Here's the code used :
#include
<iostream>
#include <list>
using
namespace std;
template
<class T>
class xObjList {
private:
char* m_strNameOfOwner;
list<T*>::iterator m_CurrentIterator;
xReadWriteLock* m_pRWLock;
list<T*> m_pList;
list<T*>::iterator m_CurrentIterator;
...
Can anyone help please ?
Continue reading...