Cython throws a lot of warnings for STL complex types

7 views
Skip to first unread message

torr...@gmail.com

unread,
Aug 9, 2017, 6:03:01 AM8/9/17
to cython-users
Hi,
STL's complex data types generate a lot of warnings for me. Calling cython on a pyx file with only the following lines of code:

cimport cython

from libcpp.complex cimport complex


or:

cimport cython

cimport libcpp.complex

from libcpp.complex cimport *


I get 50 or so warnings of type


warning: PATH.../site-packages/Cython/Includes/libcpp/complex.pxd:82:21: Function signature does not match previous declaration


This happens on different machines with Cython 0.26 and 0.23 setups.

For other STL types, like vector this does not happen.

Any help on what this is about and how to fix it would be appreciated.


Xaver

Reply all
Reply to author
Forward
0 new messages