From 4b9d2d130f789c351ef6719678dd0fae231f406e Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Mon, 20 Sep 2010 12:57:33 +0000 Subject: [PATCH] Add comment about clang work around --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index e46cb9aa..6a5fe599 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); }