Mark braced-groups within expressions with __extension__
[userspace-rcu.git] / urcu / compiler.h
index e7817dbd019f8803abea56cd54fd749ebe6279d6..378f0eae8a59b3d0c1029566a174b0b6011e3009 100644 (file)
@@ -64,6 +64,7 @@
  * @member: name of the field within the object.
  */
 #define caa_container_of(ptr, type, member)                            \
+       __extension__                                                   \
        ({                                                              \
                const __typeof__(((type *) NULL)->member) * __ptr = (ptr); \
                (type *)((char *)__ptr - offsetof(type, member));       \
This page took 0.022542 seconds and 4 git commands to generate.