]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Define.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2015 20:17:36 +0000 (20:17 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2015 20:17:36 +0000 (20:17 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224698 138bc75d-0d04-0410-961f-82ee72b054a4

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;