ruby/ext/json
Yusuke Endoh 209f8ba7c4 [ruby/json] Prevent a warning of "a candidate for gnu_printf format attribute"
GCC 13 prints the following warning.

20241127T001003Z.log.html.gz
```
compiling generator.c
generator.c: In function ‘raise_generator_error’:
generator.c:91:5: warning: function ‘raise_generator_error’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   91 |     VALUE str = rb_vsprintf(fmt, args);
      |     ^~~~~
```

This change prevents the warning by specifying the format attribute.

b8c1490846
2024-11-27 23:35:20 +09:00
..
fbuffer [ruby/json] JSON.dump: write directly into the provided IO 2024-11-26 15:11:05 +09:00
generator [ruby/json] Prevent a warning of "a candidate for gnu_printf format attribute" 2024-11-27 23:35:20 +09:00
lib JSON::GeneratorError expose invalid object 2024-11-26 15:11:05 +09:00
parser [ruby/json] Stop using rb_gc_mark_locations 2024-11-26 15:11:05 +09:00
depend Added depend files 2019-07-14 01:31:29 +09:00
extconf.rb Restore ext/json/extconf.rb 2024-10-26 18:44:15 +09:00
json.gemspec [ruby/json] Fix gemspec to include .jar files 2024-11-11 09:40:08 +09:00