Compile error in 'winbase.h'

前端 未结 3 1660
失恋的感觉
失恋的感觉 2021-01-01 10:34

I get the following error with a Windows file when compiling winbase.h.

Not sure why I get a syntax error and the compiler shows many more:



        
3条回答
  •  没有蜡笔的小新
    2021-01-01 11:17

    If your code is fine, and there is no missing semicolons before #include "winbase.h" then it should be a missing include before winbase.h (or one of the files that includes it).

提交回复
热议问题