projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b24f734
)
* gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Define.
author
Eric Botcazou
<ebotcazou@gcc.gnu.org>
Fri, 19 Jun 2015 20:17:36 +0000
(20:17 +0000)
committer
Eric Botcazou
<ebotcazou@gcc.gnu.org>
Fri, 19 Jun 2015 20:17:36 +0000
(20:17 +0000)
From-SVN: r224698
gcc/ada/gcc-interface/misc.c
patch
|
blob
|
history
diff --git
a/gcc/ada/gcc-interface/misc.c
b/gcc/ada/gcc-interface/misc.c
index cc1f92345cc8f9b154c8799d9e62c34419e856a2..55d40dd5527a216c7f12e826e7d464371cf225aa 100644
(file)
--- a/
gcc/ada/gcc-interface/misc.c
+++ b/
gcc/ada/gcc-interface/misc.c
@@
-1002,6
+1002,8
@@
gnat_init_ts (void)
#define LANG_HOOKS_DEEP_UNSHARING true
#undef LANG_HOOKS_INIT_TS
#define LANG_HOOKS_INIT_TS gnat_init_ts
+#undef LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL
+#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL hook_bool_const_tree_false
struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;