diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-08-21 15:30:38 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-08-21 15:30:38 +0100 |
commit | 93e2382f2cf48b874a5f2ff6359f134878498b69 (patch) | |
tree | cbd1a1410505f0820a83aa92687d31f4e159e3d8 /gcc/c-tree.h | |
parent | f3d360aad1dbc188c0f0bbe7d44a32bdb20cd62c (diff) | |
download | gcc-93e2382f2cf48b874a5f2ff6359f134878498b69.zip gcc-93e2382f2cf48b874a5f2ff6359f134878498b69.tar.gz gcc-93e2382f2cf48b874a5f2ff6359f134878498b69.tar.bz2 |
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
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 4 |
1 files changed, 0 insertions, 4 deletions
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; |