2012/6/23 luislavena (Luis Lavena) <luislavena / gmail.com>: > > Issue #6633 has been reported by luislavena (Luis Lavena). > I find myself unable to compile trunk (r36201) caused by errors in process.c (execve): > > compiling ../process.c > ../process.c: In function 'proc_exec_cmd': > ../process.c:1138:9: warning: passing argument 2 of 'execve' from incompatible pointer type [enabled by default] > c:\users\worker\tools\devkit\tdm-32-4.6.1\mingw\bin\../lib/gcc/mingw32/4.6.1/../../../../include/process.h:119:42: note: > expected 'const char * const*' but argument is of type 'char **' > ../process.c:1138:9: warning: passing argument 3 of 'execve' from incompatible pointer type [enabled by default] > c:\users\worker\tools\devkit\tdm-32-4.6.1\mingw\bin\../lib/gcc/mingw32/4.6.1/../../../../include/process.h:119:42: note: > expected 'const char * const*' but argument is of type 'char **' > ../process.c: In function 'rb_execarg_addopt': > ../process.c:1582:18: error: 'options' undeclared (first use in this function) > ../process.c:1582:18: note: each undeclared identifier is reported only once for each function it appears in > ../process.c: In function 'save_env': > ../process.c:2711:11: warning: variable 'soptions' set but not used [-Wunused-but-set-variable] > ../process.c: In function 'p_uid_change_privilege': > ../process.c:4895:14: warning: variable 'uid' set but not used [-Wunused-but-set-variable] > ../process.c: In function 'p_gid_change_privilege': > ../process.c:5598:14: warning: variable 'gid' set but not used [-Wunused-but-set-variable] > make: *** [process.o] Error 1 Oops. I hope r36202 fix the problem. -- Tanaka Akira