Rate This Document
Findability
Accuracy
Completeness
Readability

__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.