Mark braced-groups within expressions with __extension__
[urcu.git] / urcu / compiler.h
index 4b3185529bd886a0de8d906d465712a28ebb470c..511dbdf302456d46329bce98e1147b7c34a51543 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.022535 seconds and 4 git commands to generate.