LucasForums (
-   JA Coding (
-   -   Strange Error (

Dom_152 06-04-2006 02:27 PM

Strange Error
Hi all,

I want to get to work on my MP Mod for JKA. I downlaoded the SDK and tried to do a stock compile (No Changes) But I keep getting this error:

error C2059: syntax error : 'type'

for this function:

float powf ( float x, int y );

I really don't understand why. Can anyone help?

Dom_152 06-04-2006 03:08 PM

No problem Fixed it now.

razorace 06-08-2006 04:27 PM

I've seen that too. Are you using VS2005?

Dom_152 06-08-2006 04:37 PM

Yeah, it's easily fixed by simply commenting out the declaration and definition of the powf function. I don't really know why it's included in there seeing as tehre is already one available.

razorace 06-08-2006 05:32 PM

yeah, I'm not sure either.

All times are GMT -4. The time now is 04:20 AM.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.