Bug #6169
closedCompile error "implicit declaration of function 'ruby_setreuid'", "'ruby_setregid'"
Description
=begin
When compiling Ruby 1.9.3 (I've tested 1.9.3p0 and 1.9.3p125), process.c produces a compile error
The following is the GCC output for the error:
compiling process.c
process.c: In function 'p_sys_setreuid':
process.c:4110: error: implicit declaration of function 'ruby_setreuid'
process.c: In function 'ruby_setreuid':
process.c:4217: warning: comparison between signed and unsigned
process.c:4218: warning: comparison between signed and unsigned
process.c:4221: warning: comparison between signed and unsigned
process.c: In function 'p_sys_setregid':
process.c:4465: error: implicit declaration of function 'ruby_setregid'
process.c: In function 'ruby_setregid':
process.c:4929: warning: comparison between signed and unsigned
process.c:4930: warning: comparison between signed and unsigned
process.c:4933: warning: comparison between signed and unsigned
make: *** [process.o] Error 1
==== Environment
GCC version: 4.0.1
OS: Mac OS X 10.4.11 Intel
=end