Files
gcc/libstdc++-v3
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
..
2026-04-21 00:16:25 +00:00

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.