On 9/7/21 8:08 PM, Taylor Simpson wrote:
diff --git a/target/hexagon/idef-parser/parser-helpers.h
b/target/hexagon/idef-parser/parser-helpers.h
+#define OUT_IMPL(c, locp, x)                    \
+    _Generic(*x,                                \
+        char:      str_print,                   \
+        uint8_t:   uint8_print,                 \
+        uint64_t:  uint64_print,                \
+        int:       int_print,                   \
+        unsigned:  uint_print,                  \
+        HexValue:  rvalue_out,                  \
+        default:   out_assert                   \
+    )(c, locp, x);

Unless something has changed, qemu requires building with GCC 4.8 which is old 
enough that it doesn't support C11 _Generic.

Something has changed.  The minimum is now 7.5, and we use -std=gnu11 now.
We also use _Generic in several other places.


r~

Reply via email to