Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\> gem install json --platform=ruby
- Temporarily enhancing PATH to include DevKit...
- Building native extensions. This could take a while...
- ERROR: Error installing json:
- ERROR: Failed to build gem native extension.
- FROM THE LOGS:
- C:/Ruby192/bin/ruby.exe extconf.rb
- creating Makefile
- make
- C:/Ruby192/bin/ruby -e "puts 'EXPORTS', 'Init_generator'" > generator-i386-mingw32.def
- gcc -I. -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby192/include/ruby-1.9.1/ruby/backward -I/C/Ruby192/include/ruby-1.9.1 -I. -DJSON_GENERATOR -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -O3 -Wall -O0 -ggdb -o generator.o -c generator.c
- In file included from c:/Ruby192/include/ruby-1.9.1/ruby/defines.h:205:0,
- from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:74,
- from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:185:0: warning: "_stati64" redefined [enabled by default]
- In file included from c:\devkit_ruby\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/sys/stat.h:58:0,
- from c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:65,
- from c:/Ruby192/include/ruby-1.9.1/ruby/defines.h:205,
- from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:74,
- from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:\devkit_ruby\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/_mingw_stat64.h:14:0: note: this is the location of the previous definition
- In file included from c:/Ruby192/include/ruby-1.9.1/ruby/defines.h:205:0,
- from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:74,
- from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:184:17: warning: 'struct _stati64' declared inside parameter list [enabled by default]
- c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:184:17: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
- c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:184:17: warning: 'struct _stati64' declared inside parameter list [enabled by default]
- In file included from c:/Ruby192/include/ruby-1.9.1/ruby.h:32:0,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:112:14: error: size of array 'ruby_check_sizeof_voidp' is negative
- In file included from c:/Ruby192/include/ruby-1.9.1/ruby.h:32:0,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h: In function 'rb_class_of':
- c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:1278:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h: In function 'rb_type':
- c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:1294:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- In file included from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:1326:0,
- from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:/Ruby192/include/ruby-1.9.1/ruby/missing.h: At top level:
- c:/Ruby192/include/ruby-1.9.1/ruby/missing.h:35:8: error: redefinition of 'struct timespec'
- In file included from c:\devkit_ruby\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/process.h:12:0,
- from c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:55,
- from c:/Ruby192/include/ruby-1.9.1/ruby/defines.h:205,
- from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:74,
- from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:\devkit_ruby\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/sys/types.h:89:8: note: originally defined here
- In file included from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:1326:0,
- from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:/Ruby192/include/ruby-1.9.1/ruby/missing.h:42:8: error: redefinition of 'struct timezone'
- In file included from c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:56:0,
- from c:/Ruby192/include/ruby-1.9.1/ruby/defines.h:205,
- from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:74,
- from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,
- from ../fbuffer/fbuffer.h:5,
- from generator.c:1:
- c:\devkit_ruby\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/time.h:260:8: note: originally defined here
- In file included from generator.c:1:0:
- ../fbuffer/fbuffer.h: In function 'fbuffer_append_str':
- ../fbuffer/fbuffer.h:118:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- ../fbuffer/fbuffer.h:118:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- ../fbuffer/fbuffer.h:118:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'convert_UTF8_to_JSON_ASCII':
- generator.c:129:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:129:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:129:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:130:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:130:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:130:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'convert_UTF8_to_JSON':
- generator.c:227:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:227:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:227:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:228:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:228:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:228:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mHash_to_json':
- generator.c:319:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mArray_to_json':
- generator.c:331:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mFixnum_to_json':
- generator.c:341:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mBignum_to_json':
- generator.c:351:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mFloat_to_json':
- generator.c:361:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mString_to_json':
- generator.c:383:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mTrueClass_to_json':
- generator.c:438:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mFalseClass_to_json':
- generator.c:448:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'mNilClass_to_json':
- generator.c:458:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_configure':
- generator.c:513:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:524:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:524:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:524:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:525:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:525:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:525:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:532:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:532:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:532:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:533:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:533:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:533:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:540:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:540:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:540:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:541:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:541:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:541:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:548:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:548:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:548:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:549:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:549:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:549:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:556:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:556:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:556:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:557:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:557:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:557:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'set_state_ivars':
- generator.c:605:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:605:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:605:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:607:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:607:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:607:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_to_h':
- generator.c:622:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'generate_json_object':
- generator.c:692:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:692:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:692:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'generate_json_array':
- generator.c:738:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:738:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:738:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'generate_json_float':
- generator.c:801:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_prepare_buffer':
- generator.c:852:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_partial_generate':
- generator.c:882:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'isArrayOrObject':
- generator.c:894:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:894:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:894:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:895:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:895:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:895:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_generate':
- generator.c:912:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_initialize':
- generator.c:942:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_init_copy':
- generator.c:960:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:961:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_indent':
- generator.c:1004:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_indent_set':
- generator.c:1016:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1018:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1018:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1018:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1027:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1027:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1027:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_space':
- generator.c:1041:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_space_set':
- generator.c:1054:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1056:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1056:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1056:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1065:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1065:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1065:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_space_before':
- generator.c:1078:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_space_before_set':
- generator.c:1090:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1092:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1092:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1092:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1101:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1101:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1101:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_object_nl':
- generator.c:1115:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_object_nl_set':
- generator.c:1128:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1130:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1130:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1130:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1138:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1138:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1138:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_array_nl':
- generator.c:1151:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_array_nl_set':
- generator.c:1163:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1165:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1165:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1165:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1173:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1173:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c:1173:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_check_circular_p':
- generator.c:1188:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_max_nesting':
- generator.c:1200:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_max_nesting_set':
- generator.c:1212:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_allow_nan_p':
- generator.c:1225:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_ascii_only_p':
- generator.c:1237:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_quirks_mode_p':
- generator.c:1248:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_quirks_mode_set':
- generator.c:1259:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_depth':
- generator.c:1271:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_depth_set':
- generator.c:1283:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_buffer_initial_length':
- generator.c:1296:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- generator.c: In function 'cState_buffer_initial_length_set':
- generator.c:1309:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- make: *** [generator.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement