mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-01-01 03:12:23 +08:00
Add comment about clang work around
This commit is contained in:
parent
30affb8855
commit
4b9d2d130f
@ -51,6 +51,8 @@ std::string get_next_command() {
|
||||
#endif
|
||||
}
|
||||
|
||||
// We have to wrap exit with our own because Clang has a hard time with
|
||||
// function pointers to functions with special attributes (system exit being marked NORETURN)
|
||||
void myexit(int return_val) {
|
||||
exit(return_val);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user