View Single Post
sn4k3
Senior Member
Join Date: Nov 2005
Old 12-31-2010 , 13:15   Re: Error compiling for linux on Ubuntu 10.04
Reply With Quote #10

I fix almost all problems with my plugin errors, some was incompatibility with linux, NULL problems is from file itself i notice in linux file icon show two strange characters like Russian, after i deleted the file and paste the content again and it got fixed

But warnings from SDK continue to show, in world.h

how i have a last problem that i can't fix with cast

i have in a function:

Code:
case PROP_QANGLE:
	return Prop_SetQAngle(pEntity, ClassName, Property, LIB_STRING_CLASS::StrToAngle(value));

//LIB_STRING_CLASS::StrToAngle() Return (QAngle)
gcc says there are no function for Prop_SetQAngle(edict_t *, const char *, const char *, QAngle)

The function:

PHP Code:
bool Prop_SetQAngle(edict_t *pEntity, const char *ClassName, const char *PropertyQAngle &value); 
how can i fix it without create a overload?
Thanks

Last edited by sn4k3; 01-01-2011 at 14:42.
sn4k3 is offline
Send a message via MSN to sn4k3