Marek Polacek
edb4f451b6
c++/reflection: bogus -Wmissing-field-initializers with <meta> [PR124950]
...
We emit -Wmissing-field-initializers warnings for code like
data_member_spec (^^int, { .name = "dms" })
which seems undesirable. We can initialize the members of
std::meta::data_member_options to suppress that warning (clang's <meta>
has these initializers too).
PR c++/124950
libstdc++-v3/ChangeLog:
* include/std/meta (std::meta::data_member_options): Initialize
alignment, bit_width, and annotations members.
gcc/testsuite/ChangeLog:
* g++.dg/reflect/data_member_spec7.C: New test.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com >
2026-04-21 11:58:05 -04:00
..
2024-09-16 10:10:23 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-03 16:11:58 +00:00
2026-01-07 15:20:45 +00:00
2026-01-02 09:56:11 +01:00
2026-03-06 07:12:23 -05:00
2026-01-02 09:56:11 +01:00
2026-04-17 10:36:09 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 12:09:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-13 12:57:58 +02:00
2026-01-02 09:56:11 +01:00
2025-08-28 17:47:00 +01:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-03 16:13:23 +00:00
2026-02-16 12:34:18 +01:00
2026-01-10 15:08:53 +08:00
2025-12-11 19:54:44 +01:00
2026-04-16 12:05:55 +02:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:55 +01:00
2026-01-02 09:56:11 +01:00
2026-03-20 09:39:30 +00:00
2026-04-02 15:50:16 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-04 03:59:15 -05:00
2026-04-02 09:58:44 +02:00
2026-03-10 13:38:23 -04:00
2026-01-02 09:56:11 +01:00
2026-04-21 11:58:05 -04:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-21 09:33:50 -04:00
2026-04-17 13:43:49 +01:00
2026-04-17 13:43:49 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-10 10:14:47 -04:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-04 03:59:15 -05:00
2026-01-02 09:56:11 +01:00
2026-03-21 12:44:15 +01:00
2026-02-05 16:48:20 +00:00
2026-04-10 08:02:37 +02:00
2025-09-27 21:18:42 +01:00
2026-01-07 15:21:52 +00:00
2026-01-02 09:56:11 +01:00
2025-10-16 14:59:42 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-02 11:21:51 +01:00
2026-01-19 06:36:11 +01:00
2026-03-04 11:59:39 +00:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-14 22:56:10 +00:00
2026-01-02 09:56:11 +01:00
2026-02-13 09:06:31 +00:00
2026-04-08 08:33:11 +02:00
2026-01-02 09:56:11 +01:00
2026-03-04 03:59:15 -05:00
2026-03-04 03:59:15 -05:00
2026-04-08 08:33:11 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 06:36:11 +01:00
2026-04-02 14:42:19 +01:00