"Use of old GNU field designator" build failure(s) — clang 6.0

This piece of code is triggering a warning by clang on purpose while gcc does not complain. -Werror is failing the build.
struct Point { int x; }
p = { x: 10 };

No error detected for version 6.0