GCC: do not use anonymous structs
Two using declarations have been added in x11.h for an unnamed struct. This is not allowed by C++ (and GCC). An example: using XErrorEvent = struct { ... }; The solution is giving a name to the struct. Bug: 819294 Change-Id: I9e77017851efe8e0a92fb37c01fdba693bb7a36d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2412450Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: José Dapena Paz <jdapena@igalia.com> Cr-Commit-Position: refs/heads/master@{#807126}
Showing
Please register or sign in to comment