HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Syntax Error when building

View previous topic View next topic Go down 
AuthorMessage
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Syntax Error when building   Fri Nov 21, 2014 11:51 pm

I tried to add to class in UnitManager as I have done COUNTLESS times in other files, but when I build I get this error on the line of my edit:

c:\users\azoptaos\desktop\azoptaos source\src\client\include\MagixUnitManager.h(105): error C2143: syntax error : missing ';' before '*'
c:\users\azoptaos\desktop\azoptaos source\src\client\include\MagixUnitManager.h(105): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\azoptaos\desktop\azoptaos source\src\client\include\MagixUnitManager.h(105): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

Code:
class MagixUnitManager
{
protected:
   SceneManager *mSceneMgr;
   MagixExternalDefinitions *mDef;
   MagixGameStateManager *mGameStateManager;
   MagixPlayer *mPlayer;
   MagixIndexedUnit *mLastUnit;
   MagixWorld *mWorld;
   MagixEffectsManager *mEffectsManager;
   MagixCollisionManager *mCollisionManager;
   MagixSoundManager *mSoundManager;
   MagixItemManager *mItemManager;
   MagixCritterManager *mCritterManager;
   MagixCamera *mCamera;
   MagixChatManager *mChatManager;

ChatManager is the one breaking the build, but I added Camera just a few days ago without issue. What am I doing wrong?

________________________________
i can code you things
Back to top Go down
http://azoptaos.boards.net/
 
Syntax Error when building
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: