zoukankan      html  css  js  c++  java
  • 【windows + vs2017 + 编译失败总结】“__readfsdword”: 找不到标识符

    问题现象

    1>c:program files (x86)windows kits10include10.0.19041.0umwinnt.h(22953): error C3861: “__readfsdword”: 找不到标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9494): error C2065: “InterlockedIncrement64”: 未声明的标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9526): error C2065: “InterlockedDecrement64”: 未声明的标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9562): error C3861: “InterlockedExchange64”: 找不到标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9616): error C3861: “InterlockedExchangeAdd64”: 找不到标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9626): error C3861: “InterlockedExchangeAdd64”: 找不到标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9673): error C3861: “InterlockedAnd64”: 找不到标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9683): error C3861: “InterlockedOr64”: 找不到标识符
    1>c:program files (x86)windows kits10include10.0.19041.0umwinbase.h(9693): error C3861: “InterlockedXor64”: 找不到标识符

    可能原因

    1. 添加#include <windows.h>头文件
    2. 向win32(x86)的配置中加入了_AMD64_宏,去掉后就可以编译通过了
  • 相关阅读:
    knowledge_maven
    problems_springboot
    problems_halo
    skills_oracle
    hive启动报错(整合spark)
    根据父ID聚合
    sql2005数据库远程备份
    waitfor的使用
    CTE+操作性语句(删除无主键的相同的多行数据)+CTE操作技巧
    SQL中的CTE,查询所有的子集(子集的子集)比游标效率高
  • 原文地址:https://www.cnblogs.com/mooooonlight/p/13954594.html
Copyright © 2011-2022 走看看