Issue #277 has been reported by Ollivier Robert.

----------------------------------------
Bug #277: 1.9/trunk: build broken in ruby/ruby.h
http://redmine.ruby-lang.org/issues/show/277

Author: Ollivier Robert
Status: Open
Priority: Normal
Assigned to: 
Category: 
Target version: 


MacOS X 10.4.11 / Ruby 1.9 from trunk/#18072 / gcc 4.2 from macports

Since the latest commits to ruby/ruby.h, build is broken in transcode.c:

checking whether ELF binaries are produced... no
checking whether OS depend dynamic link works... yes
checking for nroff... /usr/bin/nroff
config.h unchanged
configure: creating ./config.status
MAKE=make /bin/sh ./config.status
config.status: creating Makefile
gcc-mp-4.2 -O -pipe -I/opt/local/include -pipe -fno-common    -I. -I.ext/include/i686-darwin8.11.1 -I../include -I..  -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o transcode.o -c ../transcode.c
../transcode.c: In function 'str_transcode':
../transcode.c:405: error: expected ')' before 'PRI_PTRDIFF_PREFIX'
../transcode.c:420: error: expected ')' before 'PRI_PTRDIFF_PREFIX'
../transcode.c:435: error: expected ')' before 'PRI_PTRDIFF_PREFIX'
make: *** [transcode.o] Error 1

I include my Makefile below.


----------------------------------------
http://redmine.ruby-lang.org