[Cython] PATCH: use function pointer arguments in import/export api functions

Lisandro Dalcin dalcinl at gmail.com
Mon Mar 2 22:21:30 CET 2009


Stefan, here you have the new patch... Check GCC manpages about
-fstrict-aliasing, this should work. Moreover, this pattern is used on
Open MPI codebase, likely for the same issues.


On Mon, Mar 2, 2009 at 12:08 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Lisandro Dalcin wrote:
>> Stefan, is this the only warning you get related to strict aliasing?
>> No warnings at all on those lines where  __Pyx_ExportFunction is
>> called??
>
> Yes, the only one that is left under Py3.
>
>
>> If that is the only warning, they I can write a better patch.
>
> Please do.
>
> Stefan
>
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
>



-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMP_EXP_API.diff
Type: application/octet-stream
Size: 4379 bytes
Desc: not available
Url : http://codespeak.net/pipermail/cython-dev/attachments/20090302/5393b9a6/attachment-0001.obj 


More information about the Cython-dev mailing list