Hi
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 piextn.pas: OK TEST pipetes2.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 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?
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
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
On 17 Dec 2004 at 2:20, Frank Heckenbach wrote:
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.
The patch causes the shell (bash) to hang. Further investigation with the Windows XP task manager reveals that hundreds of "a.exe"s are being generated (when the testsuite gets to pipetes2.pas). They are generated faster than I can kill them. I eventually had to resort to shutting the system down.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Prof A Olowofoyeku (The African Chief) wrote:
On 17 Dec 2004 at 2:20, Frank Heckenbach wrote:
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.
The patch causes the shell (bash) to hang. Further investigation with the Windows XP task manager reveals that hundreds of "a.exe"s are being generated (when the testsuite gets to pipetes2.pas). They are generated faster than I can kill them. I eventually had to resort to shutting the system down.
Perhaps a different problem (old Dos/Windows bugs with spaces in arguments) again. Try this patch?
BTW, does the problem also occur with pipetest.pas?
Frank
On 18 Dec 2004 at 12:48, Frank Heckenbach wrote:
[...]
The patch causes the shell (bash) to hang. Further investigation with the Windows XP task manager reveals that hundreds of "a.exe"s are being generated (when the testsuite gets to pipetes2.pas). They are generated faster than I can kill them. I eventually had to resort to shutting the system down.
Perhaps a different problem (old Dos/Windows bugs with spaces in arguments) again. Try this patch?
Solves the problem. Thanks.
BTW, does the problem also occur with pipetest.pas?
No. So it means that the whole testsuite passes now.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/