2012/6/20 Léonard de Haro <leonard.de.h...@ens.fr> > When translating the two JITing interpreters that I have (one purely > recursive, the second one tail-recursive in CPS), I get this warning: > > [platform:WARNING] rpython_lltypesystem_rffi.c: In function > ‘pypy_g__PyPy_dg_dtoa__Float_**Signed_Signed_arrayPtr_arra’: > [platform:WARNING] rpython_lltypesystem_rffi.c:**534: warning: passing > argument 4 of ‘_PyPy_dg_dtoa’ from incompatible pointer type > [platform:WARNING] rpython_lltypesystem_rffi.c:**534: warning: passing > argument 5 of ‘_PyPy_dg_dtoa’ from incompatible pointer type >
This is mostly harmless. It happens because the C function _PyPy_dg_dtoa is declared with int* parameters, and generated code calls it with long* values. But this only happens when int and long are of the same size (= on 32bit platforms), so nothing bad can happen here. -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev