comparison gcc/pretty-print.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
301 extern const char *pp_base_formatted_text (pretty_printer *); 301 extern const char *pp_base_formatted_text (pretty_printer *);
302 extern const char *pp_base_last_position_in_text (const pretty_printer *); 302 extern const char *pp_base_last_position_in_text (const pretty_printer *);
303 extern void pp_base_emit_prefix (pretty_printer *); 303 extern void pp_base_emit_prefix (pretty_printer *);
304 extern void pp_base_append_text (pretty_printer *, const char *, const char *); 304 extern void pp_base_append_text (pretty_printer *, const char *, const char *);
305 305
306 /* This header may be included before toplev.h, hence the duplicate 306 /* This header may be included before diagnostics-core.h, hence the duplicate
307 definitions to allow for GCC-specific formats. */ 307 definitions to allow for GCC-specific formats. */
308 #if GCC_VERSION >= 3005 308 #if GCC_VERSION >= 3005
309 #define ATTRIBUTE_GCC_PPDIAG(m, n) __attribute__ ((__format__ (__gcc_diag__, m ,n))) ATTRIBUTE_NONNULL(m) 309 #define ATTRIBUTE_GCC_PPDIAG(m, n) __attribute__ ((__format__ (__gcc_diag__, m ,n))) ATTRIBUTE_NONNULL(m)
310 #else 310 #else
311 #define ATTRIBUTE_GCC_PPDIAG(m, n) ATTRIBUTE_NONNULL(m) 311 #define ATTRIBUTE_GCC_PPDIAG(m, n) ATTRIBUTE_NONNULL(m)
337 return oldmode; 337 return oldmode;
338 } 338 }
339 #define pp_set_verbatim_wrapping(PP) pp_set_verbatim_wrapping_ (pp_base (PP)) 339 #define pp_set_verbatim_wrapping(PP) pp_set_verbatim_wrapping_ (pp_base (PP))
340 340
341 extern const char *identifier_to_locale (const char *); 341 extern const char *identifier_to_locale (const char *);
342 extern void *(*identifier_to_locale_alloc) (size_t);
343 extern void (*identifier_to_locale_free) (void *);
342 344
343 #endif /* GCC_PRETTY_PRINT_H */ 345 #endif /* GCC_PRETTY_PRINT_H */