ext/json e$B$G!"e(Brb_raise
e$B$X;XDj$7$F$$$k%U%)!<%^%C%H$,%P%0$C$F$^$9!#e(B
gcc -I. -I…/…/…/…/.ext/include/i386-freebsd6.2
-I…/…/…/…/./include -I…/…/…/…/./ext/json/ext/generator
-DRUBY_EXTCONF_H=“extconf.h” -fPIC -g -O2 -Wall -c generator.c
generator.c: In function mHash_to_json': generator.c:150: warning: unsigned int format, long int arg (arg 3) generator.c: In function
mArray_json_transfrom’:
generator.c:175: warning: unsigned int format, long int arg (arg 3)
Index: ext/json/ext/generator/generator.c
— ext/json/ext/generator/generator.c (e$B%j%S%8%g%se(B 12779)
+++ ext/json/ext/generator/generator.c (e$B:n6H%3%T!<e(B)
@@ -9,7 +9,7 @@
#define check_max_nesting(state, depth) do {
long current_nesting = 1 + depth;
if (state->max_nesting != 0 && current_nesting >
state->max_nesting) \
-
rb_raise(eNestingError, "nesting of %u is too deep",
current_nesting); \
-
rb_raise(eNestingError, "nesting of %ld is too deep",
current_nesting);
} while (0);
static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods,
mObject,