...\position.hh(83): error C2589: '(' : illegal token on right side of '::'
...\position.hh(83): error C2059: syntax error : '::'
...\position.hh(83): error C2589: '(' : illegal token on right side of '::'
...\position.hh(83): error C2059: syntax error : '::'
Define the NOMINMAX symbol at the top of your source, before you include any headers. Visual C++ defines min
and max
as macros somewhere in windows.h, and they interfere with your use of the corresponding standard functions.
'(' : illegal token on right side of '::'
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 图片发自简书App这是一篇修改稿,在上一篇同标题的文章的基础上。最初写这篇文章时,没有想过会引起这么大的关注量。最...