From de9eae2c6307f394d1dc9457caf01bf27ad9e32d Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 10 Mar 2016 17:50:18 -0500 Subject: [PATCH] README.md: add C99 compliance limitation Signed-off-by: Philippe Proulx --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index cef12f6..5a384dc 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,13 @@ As of this version: synchronization mechanism is used. * CTF compound types (array, sequence, structure, variant) are not supported yet, except at some very specific locations in the metadata. + * The current generated C code is not strictly C99 compliant: + [statement expressions](https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html) + and the + [`typeof` keyword](https://gcc.gnu.org/onlinedocs/gcc/Typeof.html) + GCC extensions are used in the generated bitfield macros. The + generated C code is known to be compiled with no warnings using + both GCC and Clang. barectf is written in Python 3. -- 2.34.1