+extern void error_n (location_t, unsigned HOST_WIDE_INT, const char *,ĪTTRIBUTE_GCC_DIAG(3,5) ATTRIBUTE_GCC_DIAG(4,5) Įxtern void error_at (location_t, const char *. extern void error_n (location_t, int, const char *, const char *. +extern bool warning_n (rich_location *, int, unsigned HOST_WIDE_INT,ĪTTRIBUTE_GCC_DIAG(4, 6) ATTRIBUTE_GCC_DIAG(5, 6) Įxtern bool warning_at (location_t, int, const char *, -69,7 +70,8 extern bool warning_at (location_t, int, const chaĮxtern bool warning_at (rich_location *, int, const char *. extern bool warning_n (rich_location *, int, int, const char *, +extern bool warning_n (location_t, int, unsigned HOST_WIDE_INT,ĪTTRIBUTE_GCC_DIAG(4,6) ATTRIBUTE_GCC_DIAG(5,6) extern bool warning_n (location_t, int, int, const char *, const char *. */Įxtern bool warning (int, const char *. * Pass one of the OPT_W* from options.h as the first parameter. +++ gcc/diagnostic-core.h (working -59,10 +59,11 extern void internal_error_no_backtrace (const chaĪTTRIBUTE_GCC_DIAG(1,2) ATTRIBUTE_NORETURN gcc/diagnostic-core.h (revision 257607) * gimple-fold.c (gimple_fold_builtin_strncpy): Use warning_n. * diagnostic.c (warning_n, error_n, inform_n): Ditto. * diagnostic-core.h (warning_n, error_n, inform_n): Change PR translation/84207 - Hard coded plural in gimple-fold.c PS Is there any reason why diagnostic-core.h and diagnostic.cĭoes not/should not include tree.h and other GCC headers? In excess of ULONG_MAX (the maximum value ngettext handles) so I also changed the implementation ofĭiagnostic_n_impl() to deal with unsigned HOST_WIDE_INT values Inform_n() functions to take an unsigned HOST_WIDE_INT argument The attached patch both replaces the calls and alsoĬhanges the signatures of the warning_n(), error_n(), and Of a number of warning_at() calls where warning_n() should haveīeen used. 21:05 ` Joseph Myers 0 siblings, 2 replies 17+ messages in threadīug 84207 - Hard coded plural in gimple-fold.c points out one Adjust warning_n() to take uhwi (PR 84207) public inbox for help / color / mirror / Atom feed * adjust warning_n() to take uhwi (PR 84207) 3:10 Martin Sebor
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |