mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: add -Wsuggest-attribute=format and suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4e0e72195d
commit
f2535e1467
3 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun May 8 08:51:38 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in: add -Wsuggest-attribute=format and suppress warnings.
|
||||
|
||||
Sun May 8 08:31:03 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in: add -Wsuggest-attribute=noreturn and suppress warnings.
|
||||
|
|
|
@ -836,6 +836,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
|
|||
-Werror=deprecated-declarations \
|
||||
-Wno-packed-bitfield-compat \
|
||||
-Wsuggest-attribute=noreturn \
|
||||
-Wsuggest-attribute=format \
|
||||
$extra_warning \
|
||||
; do
|
||||
if test "$particular_werror_flags" != yes; then
|
||||
|
|
|
@ -33,6 +33,7 @@ struct dump_config {
|
|||
size_t cur_obj_references;
|
||||
};
|
||||
|
||||
PRINTF_ARGS(static void dump_append(struct dump_config *, const char *, ...), 2, 3);
|
||||
static void
|
||||
dump_append(struct dump_config *dc, const char *format, ...)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue