Yes, it seems hackish, but I do not know of any other way, and other codes do also use this hackery...
Please, could you push the fixes? On Sat, Mar 7, 2009 at 5:31 PM, Stefan Behnel <[email protected]> wrote: > Hi Lisandro, > > sorry for the late reply, I didn't see your e-mail until now. > > Lisandro Dalcin wrote: >> Stefan, here you have the new patch... > > This looks totally hackish, but ... > >> Check GCC manpages about -fstrict-aliasing, this should work. > > I did, they are actually presenting exactly this as an example that works. > I guess that's the way to do it, then. > > Anyway, lxml compiles without aliasing warnings with your patch, so I'm ok > with applying it. > - Show quoted text - > Stefan > > _______________________________________________ > Cython-dev mailing list > [email protected] > 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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
