[Python-checkins] r73119 - python/branches/release26-maint/Objects/frameobject.c

Tarek Ziadé ziade.tarek at gmail.com
Tue Jun 2 00:50:58 CEST 2009


Looks like Python cannot compile anymore under debian with the changes
on frameobject.c :

...
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o
Objects/frameobject.o Objects/frameobject.c
Objects/frameobject.c: In function ‘frame_setlineno’:
Objects/frameobject.c:151: error: invalid lvalue in unary ‘&’
make: *** [Objects/frameobject.o] Erreur 1



On Tue, Jun 2, 2009 at 12:17 AM, amaury.forgeotdarc
<python-checkins at python.org> wrote:
> Author: amaury.forgeotdarc
> Date: Tue Jun  2 00:17:39 2009
> New Revision: 73119
>
> Log:
> #4547 again: fix a typo that causes compilation warnings
>
>
> Modified:
>   python/branches/release26-maint/Objects/frameobject.c
>
> Modified: python/branches/release26-maint/Objects/frameobject.c
> ==============================================================================
> --- python/branches/release26-maint/Objects/frameobject.c       (original)
> +++ python/branches/release26-maint/Objects/frameobject.c       Tue Jun  2 00:17:39 2009
> @@ -114,8 +114,8 @@
>
>        /* Find the bytecode offset for the start of the given line, or the
>         * first code-owning line after it. */
> -       PyString_AsStringAndSize((char*)f->f_code->co_lnotab,
> -                                &lnotab, &lnotab_len);
> +       PyString_AsStringAndSize(f->f_code->co_lnotab,
> +                                &(char*)lnotab, &lnotab_len);
>        addr = 0;
>        line = f->f_code->co_firstlineno;
>        new_lasti = -1;
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Python-checkins mailing list