Error in compiling!

Status
Not open for further replies.
Junior Spellweaver
Joined
Jul 6, 2011
Messages
195
Reaction score
11
------ Rebuild All started: Project: Neuz, Configuration: NoGameguard Win32 ------

Deleting intermediate files and output files for project 'Neuz', configuration 'NoGameguard|Win32'.
Compiling...
StdAfx.cpp
..\_Common\Mover.h(535) : error C2065: 'MAX_LEGEND_HERO_SKILL' : undeclared identifier
..\_Common\Mover.h(535) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
..\_Common\Mover.h(536) : error C3861: 'MAX_LEGEND_HERO_SKILL': identifier not found, even with argument-dependent lookup
..\_Common\Mover.h(536) : error C2229: class 'CMover' has an illegal zero-sized array
..\_Common\Mover.h(536) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
..\_Common\Mover.h(538) : error C2229: class 'CMover' has an illegal zero-sized array
..\_Interface\WndField.h(621) : error C3861: 'MAX_LEGEND_HERO_SKILL': identifier not found, even with argument-dependent lookup
..\_Interface\WndField.h(621) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
..\_Interface\WndField.h(622) : error C2229: class 'CWndSkillTreeEx' has an illegal zero-sized array

Build log was saved at "file://c:\my source\Output\Neuz\NoGameguard\BuildLog.htm"
Neuz - 6 error(s), 3 warning(s)

what kind of error is that guys?
 
Last edited:
Please read the errors, they make perfect sense if you read them. Giving you an example of how easy it is:

..\_Common\Mover.h(535) : error C2065: 'MAX_LEGEND_HERO_SKILL' : undeclared identifier

MAX_LEGEND_HERO_SKILL is undeclared, ie. it haven't been defined. So you simply define it like you would define anything else.

What did you do since you got those errors?
 
Status
Not open for further replies.
Back