[Cython] Compiler crash in AnalyseExpressionsTransform / overload resolution with templates

2016-02-11 Thread Yury V. Zaytsev
Hi, I'm trying to improve the declarations in libcpp.string and cover them with unit tests. In this process, I've stumbled upon a compiler crash in overload resolution. A simple reproducer below; if the last line is uncommented, the code compiles just fine: cdef extern from *: cd

[Cython] Cython 0.23.4 bug: C++ pairs with unsigned values inside other templates

2016-02-11 Thread Kevin Thornton
Hi, I've come across an odd bug while creating interfaces to existing C++ functions via Cython. If a C++ pair is contained inside of another template type, the pair cannot contain unsigned integers unless a typedef is provided for unsigned. Examples: #This works: cdef vector[pair[char,char]] do