diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-20 10:09:46 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-20 10:09:46 +0200 |
commit | 9fcf2a0bdc78fbb25b2eb2feb7bd19caebcc82bf (patch) | |
tree | 26fe5909b88075a83feafb678723b646d2d2aaaf /gcc/ada/gnat_ugn.texi | |
parent | 76974327ad34d419acb37750c67e73b801aea984 (diff) | |
download | gcc-9fcf2a0bdc78fbb25b2eb2feb7bd19caebcc82bf.zip gcc-9fcf2a0bdc78fbb25b2eb2feb7bd19caebcc82bf.tar.gz gcc-9fcf2a0bdc78fbb25b2eb2feb7bd19caebcc82bf.tar.bz2 |
[multiple changes]
2009-04-20 Arnaud Charlet <charlet@adacore.com>
* gnat_ugn.texi: Fix typos.
2009-04-20 Robert Dewar <dewar@adacore.com>
* debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to
Validate_Unchecked_Warnings to suppress warnings about size or
alignment or extra bits if either type involved has pragma Warnings
(Off) set for the type entity.
From-SVN: r146366
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r-- | gcc/ada/gnat_ugn.texi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index 771aff7b..70022f3 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -22263,8 +22263,8 @@ headers which is intended to do 95% of the tedious work of generating Ada specs from C or C++ header files. Note that this still is a work in progress, not designed to generate 100% correct Ada specs. -Note that the code generated is using the Ada 2005 syntax, which makes it -easier to inteface with other languages than previous versions of Ada. +The code generated is using the Ada 2005 syntax, which makes it +easier to interface with other languages than previous versions of Ada. @menu * Running the binding generator:: @@ -22286,8 +22286,8 @@ $ g++ -c -fdump-ada-spec -C /usr/include/time.h $ gcc -c -gnat05 *.ads @end smallexample -will generate, under GNU/Linux, the following files: @file{bits_time_h.ads}, -@code{bits_types_h.ads}, @code{stddef_h.ads}, @code{time_h.ads} which +will generate, under GNU/Linux, the following files: @file{time_h.ads}, +@file{bits_time_h.ads}, @file{stddef_h.ads}, @file{bits_types_h.ads} which correspond to the files @file{/usr/include/time.h}, @file{/usr/include/bits/time.h}, etc@dots{}, and will then compile in Ada 2005 mode these Ada specs. @@ -22333,7 +22333,7 @@ procedure foo (variable : int); @end smallexample In some cases, the generated bindings will be more complete or more meaningful -when defining some macros, which you can do via the @option{-D} switch. this +when defining some macros, which you can do via the @option{-D} switch. This is for example the case with @file{Xlib.h} under GNU/Linux: @smallexample @@ -22347,7 +22347,7 @@ In other cases, it is not possible to parse a header file in a stand alone manner, because other include files need to be included first. In this case, the solution is to create a small header file including the needed @code{#include} and possible @code{#define} directives. For example, to -generate Ada bindings for @file{readline/readlin.h}, you need to first +generate Ada bindings for @file{readline/readline.h}, you need to first include @file{stdio.h}, so you can create a file with the following two lines in e.g. @file{readline1.h}: @@ -22390,7 +22390,7 @@ Generate Ada spec files for the header files specified on the command line only. @item -C -@item @option{-C} (@command{gcc}) +@cindex @option{-C} (@command{gcc}) Extract comments from headers and generate Ada comments in the Ada spec files. @end table |