Quick C++ Help

Miscellaneous Forums/General Discussion/Quick C++ Help

void TEntity::SetAutoFade(float near,float far){
	autofade[0]=near;
	autofade[1]=far;
}

this won't compile, it gives the error " error C2059: syntax error : ';' ", and I have no idea whats wrong. So, could someone please tell me what's wrong...this is driving me insane...

.

nevermind, near and far are defined in windef.h which resulted in the error.

I was just gonna say that I thought near and far were predefined... VC++ says they are obsolete tho.