diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-07-23 15:22:46 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-07-23 15:22:46 +0000 |
commit | db857e7d0575630dcd40a62b7c5d6a2d8b190020 (patch) | |
tree | 81ca62862625867a1d20bc850ee48d820dd6126d /gcc/diagnostic.h | |
parent | ca1cc11138b4ba670f6bbd6b41b7f288b364ed90 (diff) | |
download | gcc-db857e7d0575630dcd40a62b7c5d6a2d8b190020.tar.gz |
Makefile.in (C_TREE_H): Update dependencies.
* Makefile.in (C_TREE_H): Update dependencies.
* c-tree.h: Include toplev.h.
* diagnostic.h (diagnostic_set_info): Add format attribute.
* rtl-error.c (diagnostic_for_asm): Likewise.
From-SVN: r102309
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r-- | gcc/diagnostic.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index ec2df1251fc..e44d68028eb 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -181,8 +181,10 @@ extern void diagnostic_report_current_module (diagnostic_context *); extern void diagnostic_report_current_function (diagnostic_context *); extern void diagnostic_report_diagnostic (diagnostic_context *, diagnostic_info *); +#ifdef ATTRIBUTE_GCC_DIAG extern void diagnostic_set_info (diagnostic_info *, const char *, va_list *, - location_t, diagnostic_t); + location_t, diagnostic_t) ATTRIBUTE_GCC_DIAG(2,0); +#endif extern char *diagnostic_build_prefix (diagnostic_info *); /* Pure text formatting support functions. */ |