Re: [Cython] errors in C++ tests

2012-07-08 Thread Lars Buitinck
2012/7/8 Stefan Behnel : > Any reason why the env.add_include_file() calls would be better than the > header inclusion that I implemented right before the function? It's inside > of the #ifndef block now. After all, they are only needed by that function, > and when users override it by redefining t

Re: [Cython] errors in C++ tests

2012-07-08 Thread Stefan Behnel
Lars Buitinck, 08.07.2012 22:24: > 2012/7/8 Stefan Behnel: >> ... and there also were some more headers missing, so basically, this >> feature never worked. Great. Here's the complete implementation with the >> four header files that I had to add at the top: > > I'm pretty sure that at some point,

Re: [Cython] errors in C++ tests

2012-07-08 Thread Lars Buitinck
2012/7/8 Stefan Behnel : > ... and there also were some more headers missing, so basically, this > feature never worked. Great. Here's the complete implementation with the > four header files that I had to add at the top: I'm pretty sure that at some point, it worked. I implemented this in 6291a2

Re: [Cython] errors in C++ tests

2012-07-08 Thread Stefan Behnel
Stefan Behnel, 08.07.2012 20:54: > Lars Buitinck, 08.07.2012 20:38: >> 2012/7/8 Stefan Behnel: >>> """ >>> 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 ‘&’

Re: [Cython] errors in C++ tests

2012-07-08 Thread Stefan Behnel
Lars Buitinck, 08.07.2012 20:38: > 2012/7/8 Stefan Behnel: >> """ >> 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 lin

Re: [Cython] errors in C++ tests

2012-07-08 Thread Lars Buitinck
2012/7/8 Stefan Behnel : > """ > 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

[Cython] errors in C++ tests

2012-07-08 Thread Stefan Behnel
Hi, I'm seeing C++ compiler errors errors in the C++ tests. https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests/BACKEND=cpp,PYVERSION=py3k/491/testReport/ """ cpp_operators.cpp: In function ‘void __Pyx_CppExn2PyErr()’: cpp_operators.cpp:442: error: expected unqualified-id before