Project

General

Profile

Actions

Bug #5674

closed

[mingw] build failure due to win/win32.c `rb_w32_getc`

Added by jonforums (Jon Forums) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
-
Backport:
[ruby-core:41313]

Description

While building trunk@33852 using TDM-GCC v4.5.2 I get the following failure:

C:\Users\Jon\Documents\RubyDev\ruby-git\build>sh -c "../configure --disable-shared --disable-install-doc && make"
...
compiling ../missing/ffs.c
compiling ../missing/setproctitle.c
compiling ../win32/win32.c
../win32/win32.c: In function 'rb_w32_getc':
../win32/win32.c:4895:9: error: 'FILE' has no member named 'FILE_COUNT'
../win32/win32.c:4896:28: error: 'FILE' has no member named 'FILE_READPTR'
../win32/win32.c: In function 'rb_w32_putc':
../win32/win32.c:4915:9: error: 'FILE' has no member named 'FILE_COUNT'
../win32/win32.c:4916:29: error: 'FILE' has no member named 'FILE_READPTR'
make: *** [win32.o] Error 1

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0