Sage and Cython have separate option mechanisms. The #clang magic comment is only supported by the cython() function in Sage, no plain Cython and no Cython code in the Sage library will respect it.
The Cython options use #cython: cdivision=False magic comments, for a full list see http://docs.cython.org/src/reference/compilation.html#compiler-directives On Sunday, December 14, 2014 2:59:22 AM UTC+1, Nathann Cohen wrote: > > You use "#clang c++" on this ticket's example. Would "#cflags -mpopcount" > work too ? Or "#cdivision=False" work ? > No and no. But #cargs -mpopcount should work. See the cython? help. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.