bugreport

Berthold Höllmann bhoel@server.python.net
Sun Jun 6 03:55:00 GMT 1999


"Martin v. Loewis" wrote:
> 
> > asked me to send a bugreport
> 
> Thanks for your bug report. gcc-2.95 19990529 compiles it just fine,
> so it seems that the bug has been fixed. In fact, the most recent
> report on CXX did not complain about not compiling, anymore - it
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> complained about compiling too slowly.

This is not true for me on 

>uname -a
Linux pchoel 2.2.5 #4 Sam Mai 22 17:56:56 MEST 1999 i686 unknown

using the 19990602 snapshot version:

g++ -fpic  -I./Include -I./Demo -g -O2 -I/usr/local/include/python1.5
-I/usr/local/include/python1.5 -DHAVE_CONFIG_H -c ./Demo/example.cxx
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:
In instantiation of
`iterator_traits<Py::SeqBase<Py::Object>::iterator>':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:154:  
instantiated from
`sort<Py::SeqBase<Py::Object>::iterator>(Py::SeqBase<Py::Object>::iterator,
Py::SeqBase<Py::Object>::iterator)'
./Demo/example.cxx:205:   instantiated from here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:104:
no type named `iterator_category' in `class
Py::SeqBase<Py::Object>::iterator'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:105:
no type named `value_type' in `class Py::SeqBase<Py::Object>::iterator'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:106:
no type named `difference_type' in `class
Py::SeqBase<Py::Object>::iterator'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:107:
no type named `pointer' in `class Py::SeqBase<Py::Object>::iterator'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:108:
no type named `reference' in `class Py::SeqBase<Py::Object>::iterator'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:
In function `void
sort<Py::SeqBase<Py::Object>::iterator>(Py::SeqBase<Py::Object>::iterator,
Py::SeqBase<Py::Object>::iterator)':
./Demo/example.cxx:205:   instantiated from here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:154:
no type named `value_type' in `struct
iterator_traits<Py::SeqBase<Py::Object>::iterator>'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_algo.h:1320:
warning: cannot pass objects of type `Py::SeqBase<Py::Object>::iterator'
through `...'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:
At top level:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:
In instantiation of
`__value_type<Py::SeqBase<Py::Object>::iterator>(...)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_algo.h:1320:  
instantiated from
`sort<Py::SeqBase<Py::Object>::iterator>(Py::SeqBase<Py::Object>::iterator,
Py::SeqBase<Py::Object>::iterator)'
./Demo/example.cxx:205:   instantiated from here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:154:
no type named `value_type' in `struct
iterator_traits<Py::SeqBase<Py::Object>::iterator>'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:
In function `{error}
__value_type<Py::SeqBase<Py::Object>::iterator>(...)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.95/../../../../include/g++-2/stl_iterator.h:154:
confused by earlier errors, bailing out
make: *** [example.o] Error 1

Regards

Berthold
-- 
bhoel@starship.python.net
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.


More information about the Gcc-bugs mailing list