PixelStrategist
Warlord
- Joined
- Jul 20, 2012
- Messages
- 176
No thanks
This might be kinda stupid, but does anyone know why this line of code causes a problem? When I comment it out, the problem vanishes.
Code:CvCultureFamilyInfo& getCultureFamilyInfo(CultureFamilyTypes eIndex);
This might be kinda stupid, but does anyone know why this line of code causes a problem? When I comment it out, the problem vanishes.
Code:CvCultureFamilyInfo& getCultureFamilyInfo(CultureFamilyTypes eIndex);
But the line before it has a semicolon at the end! See?1>c:\Users\Josh\Documents\Programming\Projects\iNoc\CvGameCoreDLL\CvGlobals.h(1113) : error C2143: syntax error : missing ';' before '&'
int getCultureFamily(CvString szTextVal) const;
CvCultureFamilyInfo& getCultureFamilyInfo(CultureFamilyTypes eIndex);
The error reads:
But the line before it has a semicolon at the end! See?
Code:int getCultureFamily(CvString szTextVal) const; CvCultureFamilyInfo& getCultureFamilyInfo(CultureFamilyTypes eIndex);
1>c:\Users\Josh\Documents\Programming\Projects\iNoc\CvGameCoreDLL\CvGlobals.h(1113) : error C2143: syntax error : missing ';' before '&'
1>c:\Users\Josh\Documents\Programming\Projects\iNoc\CvGameCoreDLL\CvGlobals.h(1113) : error C2501: 'CvGlobals::CvCultureFamilyInfo' : missing storage-class or type specifiers
1>c:\Users\Josh\Documents\Programming\Projects\iNoc\CvGameCoreDLL\CvGlobals.h(1113) : error C2501: 'CvGlobals::getCultureFamilyInfo' : missing storage-class or type specifiers
1>c:\Users\Josh\Documents\Programming\Projects\iNoc\CvGameCoreDLL\CvGlobals.h(1113) : warning C4183: 'getCultureFamilyInfo': missing return type; assumed to be a member function returning 'int'
Probably not nearly that big.