[Cython] errors in C++ tests
Lars Buitinck
L.J.Buitinck at uva.nl
Sun Jul 8 20:38:46 CEST 2012
2012/7/8 Stefan Behnel <stefan_ml at behnel.de>:
> """
> cpp_operators.cpp: In function ‘void __Pyx_CppExn2PyErr()’:
> cpp_operators.cpp:442: error: expected unqualified-id before ‘&’ token
> cpp_operators.cpp:442: error: expected `)' before ‘&’ token
> """
>
> The failing code line is this:
>
> """
> } catch (const std::bad_alloc& exn) {
> """
Could you check whether the header <new> is included? It should be to
get the definition of bad_alloc.
--
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam
More information about the cython-devel
mailing list