1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
=== 9/8/2012 with mingw64-32-4.7.1 on trunk@36925 ===

sh-3.1$ make test-all
...
[ 4511/11339] TestGemInstaller#test_generate_bin_bindir_with_user_install_warning
 23) Failure:
test_generate_bin_bindir_with_user_install_warning(TestGemInstaller) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/rubygems/test_gem_installer.rb:247]:
--- expected
+++ actual
@@ -1 +1,3 @@
-""
+"WARNING:  You don't have C:\\Windows in your PATH,
+\t  gem executables will not run.
+"
...
[10682/11339] TestUnicodeEscape#test_basic = 0.03 s
 54) Error:
test_basic(TestUnicodeEscape):
ArgumentError: invalid byte sequence in UTF-8
    c:/Users/Jon/Documents/RubyDev/ruby-git/test/ruby/test_unicode_escape.rb:50:in `test_basic'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit/testcase.rb:17:in `run'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit.rb:650:in `block in _run_suites'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit.rb:648:in `each'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit.rb:648:in `_run_suites'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit.rb:21:in `run'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit.rb:767:in `run'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit.rb:820:in `run'
    c:/Users/Jon/Documents/RubyDev/ruby-git/lib/test/unit.rb:824:in `run'
    ../../../../Users/Jon/Documents/RubyDev/ruby-git/test/runner.rb:25:in `<main>'

[10721/11339] TestWEBrickCGI#test_cgi = 1.45 s
 55) Failure:
test_cgi(TestWEBrickCGI) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/webrick/test_cgi.rb:41]:
webrick log start:
  [2012-09-08 15:29:33] INFO  WEBrick 1.3.1
  [2012-09-08 15:29:33] INFO  ruby 2.0.0 (2012-09-08) [i386-mingw32]
  [2012-09-08 15:29:33] INFO  WEBrick::HTTPServer#start: pid=3612 port=51272


webrick log end.
<"/\xA4\xDB\xA4\xB2/\xA4\xDB\xA4\xB2"> expected but was
<"/\xC2\xA4\xC3\x9B\xC2\xA4\xC2\xB2/\xC2\xA4\xC3\x9B\xC2\xA4\xC2\xB2">.
...
Finished tests in 579.516147s, 19.5663 tests/s, 3345.9637 assertions/s.
11339 tests, 1939040 assertions, 2 failures, 1 errors, 82 skips

ruby -v: ruby 2.0.0dev (2012-09-08 trunk 36925) [i386-mingw32]
make: *** [yes-test-all] Error 3




=== 9/8/2012 with mingw64-32-4.7.1 on ruby_1_9_3@36858 ===

sh-3.1$ make test-all TESTS='openssl fiddle psych zlib io json mkmf pathname stringio erb
 fileutils ruby/test_io.rb ruby/test_io_m17n.rb ruby/test_file.rb'
...
  1) Failure:
test_constants(OpenSSL::TestConfig) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:20]:
Exception raised:
<#<Errno::ENOENT: No such file or directory - C:/Users/Luis/Projects/oss/knapsack.old/knap-build/var/knapsack/software/x86-windows/openssl/1.0.0j/ssl/openssl.cnf>>.
...
  3) Error:
test_big_decimal_round_trip(Psych::TestNumeric):
TypeError: load failed: invalid character in the marshaled string
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:62:in `_load'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:62:in `deserialize'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:104:in `visit_Psych_Nodes_Scalar'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:in `visit'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:in `accept'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:20:in `accept'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:238:in `visit_Psych_Nodes_Document'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:in `visit'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:in `accept'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:20:in `accept'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/nodes/node.rb:35:in `to_ruby'
    c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych.rb:128:in `load'
    c:/Users/Jon/Documents/RubyDev/ruby-git/test/psych/helper.rb:35:in `assert_cycle'
    c:/Users/Jon/Documents/RubyDev/ruby-git/test/psych/test_numeric.rb:22:in `test_big_decimal_round_trip'
...
 12) Failure:
test_typeof_builtin(TestMkmf::TestConvertible) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/mkmf/test_convertible.rb:8]:
convertible_int: checking for convertible type of short... -------------------- short

--------------------

convertible_int: checking for convertible type of int... -------------------- int

--------------------

convertible_int: checking for convertible type of long... -------------------- long

--------------------

convertible_int: checking for convertible type of signed short... -------------------- failed

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: warning: "stat" redefined [enabled by default]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main() {return 0;}
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: warning: "stat" redefined [enabled by default]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: /*top*/
8: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:8:12: error: conflicting types for 'foo'
conftest.c:7:22: note: previous declaration of 'foo' was here
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern int foo();
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern short foo();
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:8:13: error: conflicting types for 'foo'
conftest.c:7:22: note: previous declaration of 'foo' was here
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern long foo();
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:8:18: error: conflicting types for 'foo'
conftest.c:7:22: note: previous declaration of 'foo' was here
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern long long foo();
/* end */

--------------------

.
<"short"> expected but was
<nil>.

 13) Failure:
test_typeof_typedef(TestMkmf::TestConvertible) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/mkmf/test_convertible.rb:21]:
convertible_int: checking for convertible type of test1_t... -------------------- failed

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: warning: "stat" redefined [enabled by default]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <confdefs.h>
6: typedef test1_t rbcv_typedef_;
7:
8: /*top*/
9: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:10:12: error: conflicting types for 'foo'
conftest.c:9:22: note: previous declaration of 'foo' was here
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <confdefs.h>
 6:
 7: typedef test1_t rbcv_typedef_;
 8:
 9: extern rbcv_typedef_ foo();
10: extern int foo();
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <confdefs.h>
 6:
 7: typedef test1_t rbcv_typedef_;
 8:
 9: extern rbcv_typedef_ foo();
10: extern short foo();
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:10:13: error: conflicting types for 'foo'
conftest.c:9:22: note: previous declaration of 'foo' was here
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <confdefs.h>
 6:
 7: typedef test1_t rbcv_typedef_;
 8:
 9: extern rbcv_typedef_ foo();
10: extern long foo();
/* end */

In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:72:0,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
                 from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
                 from conftest.c:1:
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:10:18: error: conflicting types for 'foo'
conftest.c:9:22: note: previous declaration of 'foo' was here
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <confdefs.h>
 6:
 7: typedef test1_t rbcv_typedef_;
 8:
 9: extern rbcv_typedef_ foo();
10: extern long long foo();
/* end */

--------------------

.
<"short"> expected but was
<nil>.
...
1573 tests, 9575 assertions, 3 failures, 1 errors, 13 skips
make: *** [yes-test-all] Error 4