* gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Define.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 19 Jun 2015 20:17:36 +0000 (20:17 +0000)
committerEric 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

index cc1f92345cc8f9b154c8799d9e62c34419e856a2..55d40dd5527a216c7f12e826e7d464371cf225aa 100644 (file)
@@ -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;