ArmA 3 Class ItemInfo Error

ArmA 3 Forum, ArmA 3, ArmA 3 Config, ArmA 3 Missions, ArmA 3 3D Modeling, ArmA 3 Scripting, ArmA 3 Terrain, ArmA 3 Texturing, ArmA 3 Tools

kju posted: in the past the engine did not check for these type of error. as they need it more strict for Eden, etc, they are enforcing the correct policy

inheritance definitions need to be defined in the scope the class has originally been defined.

class ItemInfo; // wrong
 
class cfgWeapons
{
	class ItemInfo; // wrong
 
	class Default
	{
		class ItemInfo; // wrong
	};
 
	class ItemCore;
	class ItemWatch: ItemCore
	{
		class ItemInfo; // correct
	};
};