Jump to content
  • 0
Sign in to follow this  
kieranFMT2

open Metin2 VIP Src error

Question

Can anyone tell me how to fix this?

In file included from vip.cpp:5:
vip.h:11: error: ISO C++ forbids declaration of 'TVIPTable' with no type
vip.h:11: error: expected ';' before '*' token
vip.h:12: error: 'TVIPTable' has not been declared
vip.h:19: error: 'TVIPTable' was not declared in this scope
vip.h:19: error: template argument 2 is invalid
vip.h:19: error: template argument 4 is invalid
vip.cpp: In member function 'void CVIPManager::Initialize()':
vip.cpp:20: error: request for member 'clear' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp: In member function 'void CVIPManager::ClearVIPTable()':
vip.cpp:30: error: request for member 'empty' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp:32: error: request for member 'clear' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp: At global scope:
vip.cpp:36: error: prototype for 'bool CVIPManager::InsertVIP(TVIPTable*)' does not match any in class 'CVIPManager'
vip.h:12: error: candidate is: bool CVIPManager::InsertVIP(int*)
vip.cpp: In member function 'bool CVIPManager::InsertVIP(TVIPTable*)':
vip.cpp:38: error: request for member 'insert' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp: At global scope:
vip.cpp:42: error: no 'TVIPTable* CVIPManager::FindVIP(int)' member function declared in class 'CVIPManager'
vip.cpp: In member function 'TVIPTable* CVIPManager::FindVIP(int)':
vip.cpp:44: error: ISO C++ forbids declaration of 'it' with no type
vip.cpp:44: error: request for member 'find' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp:46: error: request for member 'end' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp:51: error: base operand of '->' is not a pointer
vip.cpp: In member function 'void CVIPManager::GiveEffects(CHARACTER*)':
vip.cpp:61: error: ISO C++ forbids declaration of 'it' with no type
vip.cpp:61: error: request for member 'begin' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp:63: error: request for member 'end' in '((CVIPManager*)this)->CVIPManager::m_map_pkVIP', which is of non-class type 'int'
vip.cpp:65: error: base operand of '->' is not a pointer
gmake: *** [OBJDIR_GAME/vip.o] Error 1
gmake: *** Waiting for unfinished jobs....

 

Share this post


Link to post

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.