Prof A Olowofoyeku (The African Chief) wrote:
I have built gpc-20041017 based on gcc-3.3.5 (for Mingw). It seems to be alright. It passes the testsuite, except for these:
TEST pipetest.pas: ../units/pipesc.c: In function `_p_CPipe': ../units/pipesc.c:151: warning: passing arg 3 of `spawnve' from incompatible pointer type ../units/pipesc.c:151: warning: passing arg 4 of `spawnve' from incompatible pointer type ../units/pipesc.c: In function `pexecute': ../units/pipesc.c:471: warning: passing arg 3 of pointer to function from incompatible pointer type gpc1.exe: d:\mingw\bin\gpc.exe exited with status 1 gpc1.exe: d:\mingw\bin\gpc.exe exited with status 1 failed"
The same tests are failed under Mingw, regardless of the underlying gcc version.
Any ideas?
Seems they've slightly changed their interface.
Try this patch (untested by me, obviously).
This might break with older Mingw versions then. If this is a concern, you might want to add a version check in line 37 and let me know.
Frank