Aug 20, 2010 at 11:20am UTC
Hi,
I am getting following error during compilation. Please help me for this :
1>c:\program files\microsoft visual studio 8\vc\include\cstddef(18) : error C2143: syntax error : missing '{' before ':'
1>c:\program files\microsoft visual studio 8\vc\include\cstddef(18) : error C2059: syntax error : ':'
1>c:\program files\microsoft visual studio 8\vc\include\cstddef(18) : error C2143: syntax error : missing '{' before ':'
1>c:\program files\microsoft visual studio 8\vc\include\cstddef(18) : error C2059: syntax error : ':'
1>c:\program files\microsoft visual studio 8\vc\include\functional(18) : error C2143: syntax error : missing '{' before '<'
1>c:\program files\microsoft visual studio 8\vc\include\functional(18) : error C2059: syntax error : '<'
1>c:\program files\microsoft visual studio 8\vc\include\functional(27) : error C2143: syntax error : missing '{' before '<'
Thanks
Priyanshu
Aug 20, 2010 at 11:35am UTC
Hi,
Its because of adding some header files (which I have written). If I won't add these files, I will not get the errors.
If you can give me some general hint then it will be helpful, as I can't put the code here :-(
Thanks
Priyanshu
Aug 20, 2010 at 11:50am UTC
Well, the compiler errors speak for themselves, you have some syntax errors on line 18
If you keep having trouble with your code, youll really have to post it
(dont be afraid about posting headers, we wont steal your code and make money with it.. hihihihi )
Last edited on Aug 20, 2010 at 11:52am UTC