zoukankan      html  css  js  c++  java
  • PHP扩展开发(6)

    1. fopen
     

    warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          C:Program Files (x86)Microsoft Visual Studio 12.0VCincludestdio.h(211) : see declaration of 'fopen'

     
    解决方法:
     
    加宏      _CRT_SECURE_NO_WARNINGS
     
    右键项目 -> 属性 -> 预处理(Preprocessor) -> 预处理定义(Preprocessor Definitions) -> 把宏加进去
     
     
     
    2. strncasecmp、strnicmp
     
     'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strnicmp. See online help for details.
    1>          C:Program Files (x86)Microsoft Visual Studio 12.0VCincludestring.h(255) : see declaration of 'strnicmp'
     
    解决方法:
     
    加宏
    _CRT_SECURE_NO_DEPRECATE=1
    _CRT_NONSTDC_NO_DEPRECATE=1
     
    右键项目 -> 属性 -> 预处理(Preprocessor) -> 预处理定义(Preprocessor Definitions) -> 把宏加进去 
  • 相关阅读:
    Djano restframework
    python测试一
    SQL分类,DDL,DML,DCL
    sql查询时,根据特定的条件给表的某一个字段赋值
    数据类型之Nullable
    web.config节点
    拼凑的宿主-host
    css的优先级
    jquery——write less,do more
    double类型计算
  • 原文地址:https://www.cnblogs.com/imarno/p/5311494.html
Copyright © 2011-2022 走看看