Raised This Month: $433 Target: $400

Solved error:2227 and error: 2027

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-17-2017 , 18:29   error:2227 and error: 2027
Reply With Quote #1

Can anyone help me here?

PHP Code:
project-sm\Tickrate\tickrate_enabler.cpp(186) : error C2227left of '->SetMax' must point to class/struct/union/generic type
-sm\Tickrate\tickrate_enabler.cpp(187) : error C2027: use of undefined type 'ConVar'
project-sm\hl2sdk-l4d2\public\icvar.h(18) : see declaration of 'ConVar' 
These are lines 186, 187, 188

PHP Code:

Last edited by Spirit_12; 07-21-2017 at 17:03.
Spirit_12 is offline

Join Date: May 2008
Old 07-17-2017 , 19:14   Re: error:2227 and error: 2027
Reply With Quote #2

You need to include convar.h to get the definition of the ConVar class. Sounds like you only have a forward decl.
psychonic is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 18:50.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode