lfnetwork.com mark read register faq members calendar

Thread: Strange Error
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 06-04-2006, 02:27 PM   #1
Dom_152
Rookie
 
Dom_152's Avatar
 
Join Date: Jan 2006
Location: England
Posts: 150
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 is offline   you may: quote & reply,
Old 06-04-2006, 03:08 PM   #2
Dom_152
Rookie
 
Dom_152's Avatar
 
Join Date: Jan 2006
Location: England
Posts: 150
No problem Fixed it now.
Dom_152 is offline   you may: quote & reply,
Old 06-08-2006, 04:27 PM   #3
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
I've seen that too. Are you using VS2005?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 06-08-2006, 04:37 PM   #4
Dom_152
Rookie
 
Dom_152's Avatar
 
Join Date: Jan 2006
Location: England
Posts: 150
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.
Dom_152 is offline   you may: quote & reply,
Old 06-08-2006, 05:32 PM   #5
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
yeah, I'm not sure either.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > Strange Error

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 Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:11 AM.

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