Unexpected end of File
by Steve Lamperti · in Torque Game Engine · 10/29/2003 (3:12 pm) · 3 replies
I am getting the following error in MacCarbMath.cc:
Error : unexpected end of file
macCarbMath.cc line 69 }
Error : ### Error: Compilation aborted at end of file ###
This is with the latest head. I updated a few days ago, and started getting this error.
I am using CodeWarrior 8 on OS x 10.2.
I'm not sure what the parser is looking for, so I'm really not sure how to try to work around this.
Anyone else seeing the same thing?
Error : unexpected end of file
macCarbMath.cc line 69 }
Error : ### Error: Compilation aborted at end of file ###
This is with the latest head. I updated a few days ago, and started getting this error.
I am using CodeWarrior 8 on OS x 10.2.
I'm not sure what the parser is looking for, so I'm really not sure how to try to work around this.
Anyone else seeing the same thing?
#2
In the file MacCarbMath.cc there should be a function on line 15 declared as such:
ConsoleFunction( MathInit, void, 1, 10, "(DETECT|C|FPU)" 0
Note that the zero is not a typo on my part! You need to change it to a parenthesis, so you get:
ConsoleFunction( MathInit, void, 1, 10, "(DETECT|C|FPU)" )
Next, on line 17 you'll see:
obj;
Comment that out:
//obj;
I was able to get it to compile making these modifications.
11/02/2003 (9:05 am)
Okay, I got it to work.In the file MacCarbMath.cc there should be a function on line 15 declared as such:
ConsoleFunction( MathInit, void, 1, 10, "(DETECT|C|FPU)" 0
Note that the zero is not a typo on my part! You need to change it to a parenthesis, so you get:
ConsoleFunction( MathInit, void, 1, 10, "(DETECT|C|FPU)" )
Next, on line 17 you'll see:
obj;
Comment that out:
//obj;
I was able to get it to compile making these modifications.
Torque Owner Macgiants