我要评分
获取效率
正确性
完整性
易理解

__builtin_exit Not Supported

Error Information

error: use of undeclared identifier '__builtin_exit'
    3 |   __builtin_exit (0);
      |   ^

Problem

BiSheng compiler does not support the built-in function __builtin_exit.

Solution

  • Use exit in the standard library.
  • Use the clang-tidy tool to identify such issues and provide modification suggestions.