开发者

Sourceannotations.h ? C++ [closed]

开发者 https://www.devze.com 2022-12-19 06:32 出处:网络
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 9 years ago开发者_JS百科.

What is this errormessage in Visual Studio 2008

Error 1 error C2144: syntax error : '__w64 unsigned int' should be preceded by ';' c:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h 19 Steg2_Labs

I don't have any headerfiles made myself.


Faced the same problem. It was due to a stray character 'F'. When pressing Ctrl + F to find something, the Ctrl somehow wasn't detected and instead, an 'F' was added at the top of the file.

Diff with your previous version and remove any stray characters!


You are missing a semicolon somewhere before the "integral type" declaration.

Since you say there aren't any other libraries included (written by you) than it must be in the current file and usualy the statement directly before the error line number.


missing a semicolon at the end of the code


I have just gotten the very same compiling-error, in the very same file and line. And nothing to do with missing semicolons.

I just cleaned the projects, closed the environment, and manually deleted, the *.sdf and *.pdb files.

After that, reopened the project and recompiled fine. It seemed to be some kind of data-corruption which leaded to incorrect precompiled header generation, and eventually to that specific error.


Looks like a missing semicolon in your code. If you post your code, it is easier to say what is wrong.


Have you played with the project configuration - platform, optimizations, align, etc.? Looks like some clash of configuration options (that is if you haven't written any code to cause this)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号