An otherwise good looking macro triggers a warning with clang,
because of self comparison of constants (always true or always
false). Let's just silence the warning in this specific spot
with a pragma.
if ((pd1->vertex_count) != (pd2->vertex_count))
return 1;
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wtautological-compare"
+
COMPARE_GEOMETRICS(EVAS_CANVAS3D_VERTEX_ATTRIB_POSITION)
COMPARE_GEOMETRICS(EVAS_CANVAS3D_VERTEX_ATTRIB_NORMAL)
COMPARE_GEOMETRICS(EVAS_CANVAS3D_VERTEX_ATTRIB_TEXCOORD)
+#pragma clang diagnostic pop
+
return 0;
}