Advertisement

Need help with this error messages!!

Started by December 24, 2001 02:13 AM
1 comment, last by Nonkel Vangrauwel 23 years, 2 months ago
Hi there, I can''t get rid of the following error messages: c:\program files\microsoft visual studio\vc98\include\excpt.h(36) : warning C4518: ''extern '' : storage-class or type specifier(s) unexpected here; ignored c:\program files\microsoft visual studio\vc98\include\excpt.h(36) : error C2059: syntax error : ''string'' c:\program files\microsoft visual studio\vc98\include\excpt.h(36) : error C2143: syntax error : missing '';'' before ''{'' c:\program files\microsoft visual studio\vc98\include\excpt.h(36) : error C2447: missing function header (old-style formal list?) The strange thing is that they appear in a file I never modified. Even better: when I compile exactly the same code on an older, slower system, it works perfectly, no errors. I just reinstalled my Visual Studio and DirectX 8 SDK and since then I am having this problem. Any ideas? thnx!
I think you''ve forgotten a semicolon somewhere. It also could be that you''re putting a piece of code somewhere where the compiler does not expect it. The compiler itself sais line 36...
Newbie programmers think programming is hard.Amature programmers think programming is easy.Professional programmers know programming is hard.
Advertisement
I would guess you have got a function header in line 35 or 36 and you forgot to add a semicolor after it (you should do it in .h files)

With best regards,
Mirek Czerwiñski
http://kris.top.pl/~kherin/
With best regards, Mirek Czerwiñski

This topic is closed to new replies.

Advertisement