aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/lang-specs.h
diff options
context:
space:
mode:
authorLaurent Guerby <guerby@acm.org>2001-11-17 11:35:08 +0000
committerLaurent Guerby <guerby@gcc.gnu.org>2001-11-17 11:35:08 +0000
commitb0df4321ea7db2dbe0194cec032926c5cf31c11d (patch)
tree39e493e87df2945a110142da9ac42207c0aaa146 /gcc/ada/lang-specs.h
parentb605ed61ea5d9003fdee72c0dc8e86b80ee15c43 (diff)
downloadgcc-b0df4321ea7db2dbe0194cec032926c5cf31c11d.zip
gcc-b0df4321ea7db2dbe0194cec032926c5cf31c11d.tar.gz
gcc-b0df4321ea7db2dbe0194cec032926c5cf31c11d.tar.bz2
Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
2001-11-17 Laurent Guerby <guerby@acm.org> * Make-lang.in (GNATLIBFLAGS): Add -W -Wall. * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing. * io-aux.c: Provide K&R prototypes to all functions, reformat code. * lang-spec.h: Add missing struct field to silence warnings. * sysdep.c (rts_get_*): Provide K&R prototype. * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype. * traceback.c (Unlock_Task, Lock_Task): Likewise. * tracebak.c (__gnat_backtrace): Remove unused variable. * utils.c (end_subprog_body): Move to K&R style. From-SVN: r47117
Diffstat (limited to 'gcc/ada/lang-specs.h')
-rw-r--r--gcc/ada/lang-specs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/lang-specs.h b/gcc/ada/lang-specs.h
index 0019bb9..cc29d52 100644
--- a/gcc/ada/lang-specs.h
+++ b/gcc/ada/lang-specs.h
@@ -6,7 +6,7 @@
* *
* C Header File *
* *
- * $Revision: 1.17 $
+ * $Revision: 1.1 $
* *
* Copyright (C) 1992-2001 Free Software Foundation, Inc. *
* *
@@ -29,8 +29,8 @@
/* This is the contribution to the `default_compilers' array in gcc.c for
GNAT. */
- {".ads", "@ada"},
- {".adb", "@ada"},
+ {".ads", "@ada", 0},
+ {".adb", "@ada", 0},
{"@ada",
"gnat1 %{^I*} %{k8:-gnatk8} %{w:-gnatws} %1 %{!Q:-quiet} %{nostdinc*}\
-dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}}\
@@ -40,4 +40,4 @@
%i %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
%{!S:%{!gnatc:%{!gnatz:%{!gnats:as %a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}\
%{!c:%e-c or -S required for Ada}\
- %{!pipe:%g.s} %A\n}}}} "},
+ %{!pipe:%g.s} %A\n}}}} ", 0},