Nice catch, thanks.
We need to introduce a c++ pragma to make sure to automatically test
these things. (Or, maybe, compile every test file as both C and C++).
On Aug 28, 2008, at 4:28 PM, Lisandro Dalcin wrote:
> diff -r 432133046744 Cython/Compiler/Nodes.py
> --- a/Cython/Compiler/Nodes.py Wed Aug 27 09:12:51 2008 +0200
> +++ b/Cython/Compiler/Nodes.py Thu Aug 28 20:25:24 2008 -0300
> @@ -4357,7 +4357,7 @@ static INLINE void __Pyx_RaiseArgtupleIn
> Py_ssize_t num_found)
> {
> Py_ssize_t num_expected;
> - char *number, *more_or_less;
> + const char *number, *more_or_less;
>
> if (num_found < num_min) {
> num_expected = num_min;
>
>
> --
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev