VC++6.0 error C2059: syntax error : 'end of file'

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jul 2007
Posts: 2
Reputation: DinoBod is an unknown quantity at this point 
Solved Threads: 0
DinoBod DinoBod is offline Offline
Newbie Poster

VC++6.0 error C2059: syntax error : 'end of file'

 
0
  #1
Jul 14th, 2007
Ok I have a bug that is very hard to pinpoint. Upon Compilation I get

Compiling...
Forkin.cpp
\vc98\include\xlocale(467) : error C2059: syntax error : 'end of file'
ForkLift.cpp
MainWnd.cpp
\vc98\include\xlocale(467) : error C2059: syntax error : 'end of file'
Mat4f.cpp
Generating Code...
Error executing cl.exe.

Forkin.exe - 2 error(s), 0 warning(s)

I take it the Message is pointing to the xlocale include which is part of C++. I guess the error originates in Forkin.cpp and searched for missing tokens to no avail.
I would appreciate any info.
Thanks in advance
Dinobod
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: VC++6.0 error C2059: syntax error : 'end of file'

 
0
  #2
Jul 14th, 2007
post your code please
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 2
Reputation: DinoBod is an unknown quantity at this point 
Solved Threads: 0
DinoBod DinoBod is offline Offline
Newbie Poster

Re: VC++6.0 error C2059: syntax error : 'end of file'

 
0
  #3
Jul 14th, 2007
[QUOTE=DinoBod;403462]Ok I have a bug that is very hard to pinpoint. Upon Compilation I get

Thanks to all concerned. I got it figured. What I did was include a
Function header( not a class) and did not inline the Functions or
should I say didn't declare them well anyway It works now

Thanks again
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: VC++6.0 error C2059: syntax error : 'end of file'

 
0
  #4
Jul 14th, 2007
[quote=DinoBod;403524]
Originally Posted by DinoBod View Post
Ok I have a bug that is very hard to pinpoint. Upon Compilation I get

Thanks to all concerned. I got it figured. What I did was include a
Function header( not a class) and did not inline the Functions or
should I say didn't declare them well anyway It works now

Thanks again
awesome


cheers!
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC