Fix a lot of include errors with ports-gcc
Index: CGRuntime.h
--- CGRuntime.h.orig
+++ CGRuntime.h
@@ -24,6 +24,8 @@ To contact the author: codeworker@free.fr
 
 #include <string>
 #include <list>
+#include <stdlib.h>
+#include <string.h>
 
 #include "UtlException.h"
 #include "CppParsingTree.h"
@@ -123,10 +125,18 @@ namespace CodeWorker {
 			static void registerExternalTemplateDispatcherFunction(const std::string& sKey, EXTERNAL_TEMPLATE_DISPATCHER_FUNCTION externalFunction);
 			static EXTERNAL_FUNCTION getExternalFunction(const std::string& sKey);
 
+#if defined(__clang__) && (__clang_major__ >= 16)
+			static void throwBNFExecutionError(const std::string& sBNFToken, const char* tcComment = NULL) noexcept(false);
+#else
 			static void throwBNFExecutionError(const std::string& sBNFToken, const char* tcComment = NULL) throw(UtlException);
+#endif
 
 			static int entryPoint(int iNargs, char** tsArgs, EXECUTE_FUNCTION* executeFunction);
+#if defined(__clang__) && (__clang_major__ >= 16)
+			static bool executeScript(int iNargs, char** tsArgs, EXECUTE_FUNCTION* executeFunction) noexcept(false);
+#else
 			static bool executeScript(int iNargs, char** tsArgs, EXECUTE_FUNCTION* executeFunction) throw(UtlException);
+#endif
 			static void registerScript(const char* sRegistration, EXECUTE_FUNCTION* executeFunction);
 			static void registerReadonlyHook(READONLYHOOK_FUNCTION readonlyHook);
 			static void registerWritefileHook(WRITEFILEHOOK_FUNCTION writefileHook);
