zoukankan      html  css  js  c++  java
  • this_fixmap_does_not_exist

          1 #include <stdio.h>                                                                                         
          2
          3 static __always_inline unsigned int  show(const unsigned int a)
          4 {
          5     if (a>3)
          6         this_fixmap_does_not_exist();
          7     return a;
          8 }
          9
         10
         11 int main(int argc, char *argv[])
         12 {
         13     unsigned int a=show(0);
         14     printf("%d\n",a);
         15     return 0;
         16 }

    最主要就是编译防错。宏不能上边的功能。

    static inline unsigned int 也可以,但是编译选项一定要加入优化选项。

  • 相关阅读:
    python的Collections 模块
    python模块
    python类
    python异常
    python文件处理
    python函数
    python字符串
    python数据结构
    python循环
    下载Google Play外国区APP技巧
  • 原文地址:https://www.cnblogs.com/openix/p/2775246.html
Copyright © 2011-2022 走看看