[pypy-dev] windows C translation progress - complete with patches for 2/3 of the problems

Carl Friedrich Bolz cfbolz at gmx.de
Mon Jan 14 13:33:11 CET 2008


Hi Mike,

Michael Schneider wrote:
> Hope you are having fun at the sprint.

yes, apart from the usual head-wall interactions :-).

> I have been working on getting the windows translation going again.
> 
> There are 3 issues, and I have fixes for 2 of them
> 
> 1) translator/c/src/stack.h  includes a unix only include file without 
> guards,  this is an easy fix.  This include is not used, simply delete 
> this #include
> 
> #include <unistd.h>
> 
> 2) translator/c/src/ll_strtod.h   apply this patch to add 
> #include<winsock2.h> during a windows compile.  The patch at then end of 
> this email will fix
> the winsoc2 related compile errors

I committed both of these, thanks a lot!


> 3) The generated code module_0.c  #includes  <sys/wait.h>   rumor has a 
> fix is close for this, so I did not work this.
> 
>                                 module_0.c
>                                 module_0.c(859) : fatal error C1083: 
> Cannot open include file: 'sys/wait.h': No
>                                 such file or directory

According to Maciek this should be fixed as of revision 50588

Thanks again,

Carl Friedrich



More information about the Pypy-dev mailing list