Commit da508766 by Robert Dewar Committed by Arnaud Charlet

gnat_ugn.texi: Add documentation for -gnatw.w/-gnatw.W Add description for the new gnatstub...

2008-03-26  Robert Dewar  <dewar@adacore.com>

	* gnat_ugn.texi: Add documentation for -gnatw.w/-gnatw.W
	Add description for the new gnatstub option '--header-file'
	clarification of -gnatwz/-gnatwZ
	Add a "Irix-Specific Considerations" section to document the need to
	set LD_LIBRARY_PATH when using the default shared runtime library.
	Added documentation for both gcov and gprof.

	* gnat_rm.texi: Document that pragma Compile_Time_Warning generates
	messages that are not suppressed when clients are compiled.
	Add documentation of s-pooglo s-pooloc
	Document the new GNAT.Serial_Communications API.
	Add documentation for 'Old attribute
	Add description of pragma Optimize_Alignment

	* ug_words: Add entries for -gnatw.w -gnatw.W

	* usage.adb: Add line for -gnatw.w (warn on warnings off)

From-SVN: r133588
parent 7e5e5cc7
...@@ -159,6 +159,8 @@ gcc -c ^ GNAT COMPILE ...@@ -159,6 +159,8 @@ gcc -c ^ GNAT COMPILE
-gnatwV ^ /WARNINGS=NOVARIABLES_UNINITIALIZED -gnatwV ^ /WARNINGS=NOVARIABLES_UNINITIALIZED
-gnatww ^ /WARNINGS=LOWBOUND_ASSUMED -gnatww ^ /WARNINGS=LOWBOUND_ASSUMED
-gnatwW ^ /WARNINGS=NOLOWBOUND_ASSUMED -gnatwW ^ /WARNINGS=NOLOWBOUND_ASSUMED
-gnatw.w ^ /WARNINGS=WARNINGS_OFF_PRAGMAS
-gnatw.W ^ /WARNINGS=NOWARNINGS_OFF_PRAGMAS
-gnatwx ^ /WARNINGS=IMPORT_EXPORT_PRAGMAS -gnatwx ^ /WARNINGS=IMPORT_EXPORT_PRAGMAS
-gnatwX ^ /WARNINGS=NOIMPORT_EXPORT_PRAGMAS -gnatwX ^ /WARNINGS=NOIMPORT_EXPORT_PRAGMAS
-gnatw.x ^ /WARNINGS=LOCAL_RAISE_HANDLING -gnatw.x ^ /WARNINGS=LOCAL_RAISE_HANDLING
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- -- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -362,7 +362,7 @@ begin ...@@ -362,7 +362,7 @@ begin
Write_Switch_Char ("wxx"); Write_Switch_Char ("wxx");
Write_Line ("Enable selected warning modes, xx = list of parameters:"); Write_Line ("Enable selected warning modes, xx = list of parameters:");
Write_Line (" a turn on all optional warnings (except d h l .o)"); Write_Line (" a turn on all optional warnings (except dhl.o.w)");
Write_Line (" A turn off all optional warnings"); Write_Line (" A turn off all optional warnings");
Write_Line (" .a* turn on warnings for failing assertions"); Write_Line (" .a* turn on warnings for failing assertions");
Write_Line (" .A turn off warnings for failing assertions"); Write_Line (" .A turn off warnings for failing assertions");
...@@ -428,6 +428,8 @@ begin ...@@ -428,6 +428,8 @@ begin
Write_Line (" w* turn on warnings for wrong low bound assumption"); Write_Line (" w* turn on warnings for wrong low bound assumption");
Write_Line (" W turn off warnings for wrong low bound " & Write_Line (" W turn off warnings for wrong low bound " &
"assumption"); "assumption");
Write_Line (" .w turn on warnings on pragma Warnings Off");
Write_Line (" .w* turn off warnings on pragma Warnings Off");
Write_Line (" x* turn on warnings for export/import"); Write_Line (" x* turn on warnings for export/import");
Write_Line (" X turn off warnings for export/import"); Write_Line (" X turn off warnings for export/import");
Write_Line (" .x turn on warnings for non-local exceptions"); Write_Line (" .x turn on warnings for non-local exceptions");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment