From 93e2382f2cf48b874a5f2ff6359f134878498b69 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 21 Aug 2000 15:30:38 +0100 Subject: c-tree.h (flag_hosted): Move declaration from here... * c-tree.h (flag_hosted): Move declaration from here... * c-common.h (flag_hosted): ... to here. (flag_noniso_default_format_attributes): New declaration. * c-decl.c (flag_noniso_default_format_attributes): New variable. (c_decode_option): Set it appropriately for options choosing language standard variant. * c-common.c (init_function_format_info): Only provide default format attributes if flag_hosted. Only provide the gettext formats if flag_noniso_default_format_attributes. Update comments. (check_format_info): Disable treatment of %a as a scanf flag in C99 mode. cp: * decl.c (flag_hosted, flag_noniso_default_format_attributes): New variables. * decl2.c (lang_decode_option): Disable gettext attributes for -ansi. From-SVN: r35843 --- gcc/c-tree.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/c-tree.h') diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 3af50a4..f3ad275 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -299,10 +299,6 @@ extern int flag_cond_mismatch; extern int flag_no_asm; -/* Nonzero means environment is hosted (i.e., not freestanding) */ - -extern int flag_hosted; - /* Nonzero means warn about implicit declarations. */ extern int warn_implicit; -- cgit v1.1