diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-07-04 15:31:43 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-07-04 15:31:43 +0200 |
commit | 4edb2be07d34b23142292f14941501bda0614951 (patch) | |
tree | 57a0c3fc2827757acf848fd1a747b9168b6a77fa /gcc/ada/gnat_ugn.texi | |
parent | d43d5ef7b552483264f6af5a831bdef1d1cd55cb (diff) | |
download | gcc-4edb2be07d34b23142292f14941501bda0614951.tar.gz |
[multiple changes]
2005-07-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thomas Quinot <quinot@adacore.com>
* Make-lang.in: (ada/targtyps.o): Add missing TREE_H dependency.
new target gen-soccon.
2005-07-04 Robert Dewar <dewar@adacore.com>
* s-mastop-irix.adb, s-mastop-vms.adb: Minor reformatting
2005-07-04 Thomas Quinot <quinot@adacore.com>
* g-socket.ads (Check_Selector): Minor rewording of comment.
2005-07-04 Vincent Celier <celier@adacore.com>
* vms_data.ads: Add VMS qualifiers for new gnatpp switch --eol=
2005-07-04 Thomas Quinot <quinot@adacore.com>
* gen-soccon.c: Add constants SO_SNDTIMEO and SO_RCVTIMEO.
2005-07-04 Sergey Rybin <rybin@adacore.com>
* gnat_ugn.texi: Add description of --eol gnatpp option
2005-07-04 Eric Botcazou <ebotcazou@adacore.com>
Thomas Quinot <quinot@adacore.com>
* gnat_rm.texi: Add a note that pragma Unreferenced is not appropriate
if the user wants all calls of a subprogram to be flagged,
independently of whether they are made from within the same unit or
another unit.
Mention restriction for pragma Linker_Alias on some platforms.
Document pragma Linker_Constructor and Linker_Destructor.
Rewrite documentation of Weak_External, Linker_Section and
Linker_Alias pragmas.
From-SVN: r101598
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r-- | gcc/ada/gnat_ugn.texi | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index 38d4b4fedaf..74b2c40fce3 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -2860,7 +2860,7 @@ The build procedure for this application is similar to the last example's. First, compile the foreign language files to generate object files: @smallexample -gcc -c main.c +^gcc -c main.c^gcc -c main.c^ @end smallexample @item @@ -4948,14 +4948,14 @@ may not be properly initialized. @cindex Ada 2005 compatibility issues warnings For the most part Ada 2005 is upwards compatible with Ada 95, but there are some exceptions (for example the fact that -@code{interface} is now a reserved word in Ada 2005. This +@code{interface} is now a reserved word in Ada 2005). This switch activates several warnings to help in identifying and correcting such incompatibilities. The default is that these warnings are generated. Note that at one point Ada 2005 was called Ada 0Y, hence the choice of character. @item -gnatwY -@emph{Disab le warnings for Ada 2005 compatibility issues.} +@emph{Disable warnings for Ada 2005 compatibility issues.} @cindex @option{-gnatwY} (@command{gcc}) @cindex Ada 2005 compatibility issues warnings This switch suppresses several warnings intended to help in identifying @@ -15049,13 +15049,31 @@ already exists, it is overwritten. @cindex @option{^-rnb^/NO_BACKUP^} (@code{gnatpp}) Replace the input source file with the reformatted output without creating any backup copy of the input source. + +@item ^--eol=@var{xxx}^/END_OF_LINE=@var{xxx}^ +@cindex @option{^--eol^/END_OF_LINE^} (@code{gnatpp}) +Specifies the format of the reformatted output file. The @var{xxx} +^string specified with the switch^option^ may be either +@itemize @bullet +@item ``@option{^dos^DOS^}'' MS DOS style, lines end with CR LF characters +@item ``@option{^crlf^CRLF^}'' +the same as @option{^crlf^CRLF^} +@item ``@option{^unix^UNIX^}'' UNIX style, lines end with LF character +@item ``@option{^lf^LF^}'' +the same as @option{^unix^UNIX^} +@end itemize + @end table @noindent Options @option{^-pipe^/STANDARD_OUTPUT^}, @option{^-o^/OUTPUT^} and @option{^-of^/FORCED_OUTPUT^} are allowed only if the call to gnatpp -contains only one file to reformat +contains only one file to reformat. +Option +@option{^--eol^/END_OF_LINE^} +can not be used together +with @option{^-pipe^/STANDARD_OUTPUT^} option. @node Other gnatpp Switches @subsection Other @code{gnatpp} Switches |