]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Improve documentation for -gnatw.h warnings
authorSteve Baird <baird@adacore.com>
Wed, 9 Nov 2022 23:53:49 +0000 (15:53 -0800)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 21 Nov 2022 10:10:31 +0000 (11:10 +0100)
commit84e80d556415c4c82081647e70e899506a7db9ba
tree249948aff7b3daea79c242a88b9f28d790f51548
parent493e760dda4dac45eefac4185a7b04a1b8fc6c18
ada: Improve documentation for -gnatw.h warnings

The -gnatw.h option enables warnings about "gaps" in record layout
specifications. In the case of a "partial" layout specification, where the
locations of some components are left unspecified, the resulting warnings
may be incomplete or incorrect. Document this implementation limitation.

gcc/ada/

* doc/gnat_ugn/building_executable_programs_with_gnat.rst: Improve
the description of how the -gnatw.h switch interacts with
"partial" record layout specifications (i.e., specifications where
the locations of some components are left unspecified).
* gnat_ugn.texi: Regenerate.
gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/gnat_ugn.texi