From e8322215fde79dff5d2b3e468e86f3c189612ac6 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 18 Mar 2023 17:39:20 +0100 Subject: [PATCH] Update doc about clang --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 924014bd..13a3d327 100644 --- a/README.md +++ b/README.md @@ -7800,6 +7800,11 @@ You shall include this header before any other headers of M\*LIB, so that it can configure the memory management of M\*LIB to throw exception on memory errors. It does it by redefining the default macro M\_MEMORY\_FULL accordingly. +When using CLANG, you should add the following options to your compiler flags, +otherwise it will compile in degraded mode: + + -fblocks -lBlocksRuntime + #### struct m\_exception\_s This is the exception type. It is composed of the following fields: