Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-08-04 Thread Vitja Makarov
2011/8/4 Stefan Behnel : > Vitja Makarov, 03.08.2011 21:07: Stefan, do you know why skip_dispatch argument is used for module-level cpdef function? There is warning about that too. > > It seems you already found a way to handle it. > > >>> And here is my branch for unused_a

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-08-03 Thread Stefan Behnel
Vitja Makarov, 03.08.2011 21:07: Stefan, do you know why skip_dispatch argument is used for module-level cpdef function? There is warning about that too. It seems you already found a way to handle it. And here is my branch for unused_arg: https://github.com/vitek/cython/commits/_unused_arg

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-08-03 Thread Vitja Makarov
2011/8/2 Vitja Makarov : > 2011/8/2 Vitja Makarov : >> 2011/8/2 Vitja Makarov : >>> 2011/7/29 Stefan Behnel : Vitja Makarov, 29.07.2011 10:55: > > 2011/7/29 Stefan Behnel: >> >> Vitja Makarov, 29.07.2011 10:44: >>> >>> 2011/7/29 Stefan Behnel: Vitja Ma

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-08-02 Thread Vitja Makarov
2011/8/2 Vitja Makarov : > 2011/8/2 Vitja Makarov : >> 2011/7/29 Stefan Behnel : >>> Vitja Makarov, 29.07.2011 10:55: 2011/7/29 Stefan Behnel: > > Vitja Makarov, 29.07.2011 10:44: >> >> 2011/7/29 Stefan Behnel: >>> >>> Vitja Makarov, 29.07.2011 10:08:

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-08-02 Thread Vitja Makarov
2011/8/2 Vitja Makarov : > 2011/7/29 Stefan Behnel : >> Vitja Makarov, 29.07.2011 10:55: >>> >>> 2011/7/29 Stefan Behnel: Vitja Makarov, 29.07.2011 10:44: > > 2011/7/29 Stefan Behnel: >> >> Vitja Makarov, 29.07.2011 10:08: >>> >>> this issue isn't critical and even

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-08-02 Thread Vitja Makarov
2011/7/29 Stefan Behnel : > Vitja Makarov, 29.07.2011 10:55: >> >> 2011/7/29 Stefan Behnel: >>> >>> Vitja Makarov, 29.07.2011 10:44: 2011/7/29 Stefan Behnel: > > Vitja Makarov, 29.07.2011 10:08: >> >> this issue isn't critical and even isn't a bug at all. > > Agree

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-29 Thread Stefan Behnel
Vitja Makarov, 29.07.2011 10:55: 2011/7/29 Stefan Behnel: Vitja Makarov, 29.07.2011 10:44: 2011/7/29 Stefan Behnel: Vitja Makarov, 29.07.2011 10:08: this issue isn't critical and even isn't a bug at all. Agreed. It's nothing that needs to be done for 0.15. I just thought you might be int

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-29 Thread Vitja Makarov
2011/7/29 Stefan Behnel : > Vitja Makarov, 29.07.2011 10:44: >> >> 2011/7/29 Stefan Behnel: >>> >>> Vitja Makarov, 29.07.2011 10:08: this issue isn't critical and even isn't a bug at all. >>> >>> Agreed. It's nothing that needs to be done for 0.15. I just thought you >>> might be interest

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-29 Thread Stefan Behnel
Vitja Makarov, 29.07.2011 10:44: 2011/7/29 Stefan Behnel: Vitja Makarov, 29.07.2011 10:08: this issue isn't critical and even isn't a bug at all. Agreed. It's nothing that needs to be done for 0.15. I just thought you might be interested. :D Yeah, I tried to do this once but I've found so

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-29 Thread Vitja Makarov
2011/7/29 Stefan Behnel : > Vitja Makarov, 29.07.2011 10:08: >> >> this issue isn't critical and even isn't a bug at all. > > Agreed. It's nothing that needs to be done for 0.15. I just thought you > might be interested. :D > Yeah, I tried to do this once but I've found some problems with buffer v

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-29 Thread Stefan Behnel
Vitja Makarov, 29.07.2011 10:08: this issue isn't critical and even isn't a bug at all. Agreed. It's nothing that needs to be done for 0.15. I just thought you might be interested. :D Stefan ___ cython-devel mailing list cython-devel@python.org htt

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-29 Thread Vitja Makarov
2011/7/29 Stefan Behnel : > Vitja Makarov, 29.07.2011 08:38: >> >> 2011/7/29 Vitja Makarov: >>> >>> 2011/7/29 Stefan Behnel: Nikolaus Rath, 13.06.2011 16:59: > > $ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -I/usr/include/python

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-28 Thread Stefan Behnel
Vitja Makarov, 29.07.2011 08:38: 2011/7/29 Vitja Makarov: 2011/7/29 Stefan Behnel: Nikolaus Rath, 13.06.2011 16:59: $ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c test.c -o test.o -D_FILE_OFFSET_BITS=64 -I/usr/include/fus

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-28 Thread Vitja Makarov
2011/7/29 Vitja Makarov : > 2011/7/29 Stefan Behnel : >> [moving this here from cython-users] >> >> Nikolaus Rath, 13.06.2011 16:59: >>> >>> Stefan Behnel writes: Nikolaus Rath, 13.06.2011 01:18: > > Stefan Behnel writes: >> >> Nikolaus Rath, 03.06.2011 23:24: >>>

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-28 Thread Vitja Makarov
2011/7/29 Stefan Behnel : > [moving this here from cython-users] > > Nikolaus Rath, 13.06.2011 16:59: >> >> Stefan Behnel writes: >>> >>> Nikolaus Rath, 13.06.2011 01:18: Stefan Behnel writes: > > Nikolaus Rath, 03.06.2011 23:24: >> >> Cython 0.14 generated code triggers l

Re: [Cython] GCC 4.6 unused-but-set-variable warnings

2011-07-28 Thread Stefan Behnel
[moving this here from cython-users] Nikolaus Rath, 13.06.2011 16:59: Stefan Behnel writes: Nikolaus Rath, 13.06.2011 01:18: Stefan Behnel writes: Nikolaus Rath, 03.06.2011 23:24: Cython 0.14 generated code triggers lots of unused-but-set-variable warnings (which are new in GCC 4.6). Hmm,