char_resist.cpp: In member function 'void CHARACTER::AttackedByBleeding(LPCHARAC TER)': char_resist.cpp:286:2: error: 'TBleedingEventInfo' was not declared in this scop e TBleedingEventInfo* info = AllocEventInfo(); ^ char_resist.cpp:286:22: error: 'info' was not declared in this scope TBleedingEventInfo* info = AllocEventInfo(); ^ char_resist.cpp:286:44: error: the value of 'TBleedingEventInfo' is not usable i n a constant expression TBleedingEventInfo* info = AllocEventInfo(); ^ char_resist.cpp:286:2: note: 'TBleedingEventInfo' was not declared 'constexpr' TBleedingEventInfo* info = AllocEventInfo(); ^ char_resist.cpp:286:64: error: no matching function for call to 'AllocEventInfo( )' TBleedingEventInfo* info = AllocEventInfo(); ^ char_resist.cpp:286:64: note: candidate is: In file included from stdafx.h:39:0, from char_resist.cpp:1: event.h:70:4: note: template T* AllocEventInfo() T* AllocEventInfo() { ^ event.h:70:4: note: template argument deduction/substitution failed: char_resist.cpp:292:33: error: 'bleed_event' was not declared in this scope m_pkPoisonEvent = event_create(bleed_event, info, 1); ^ event.h:82:56: note: in definition of macro 'event_create' #define event_create(func, info, when) event_create_ex(func, info, when) ^