closing the report; gcc-4.1.1-17 fixes the parse error. Ben Hutchings writes: > Package: python-cxx-dev > Version: 5.3.5-3 > Severity: grave > Justification: renders package unusable > Tags: patch > > *** Please type your report below this line *** > g++ 4.1 spotted a syntax error it previously ignored: > > $ g++ -c -o /dev/null -x c++ -I /usr/include/python2.4 > /usr/include/python2.4/CXX/Objects.hxx > /usr/include/python2.4/CXX/Objects.hxx:1932: error: parse error in template > argument list > > This error is for the destructor declaration, but I think the > constructors might be strictly illegal too so my patch removes > the template arguments from them as well. > > Ben. > > --- /usr/include/python2.4/CXX/Objects.hxx 2005-10-02 08:24:44.000000000 > +0000 > +++ ./Objects.hxx 2006-10-17 01:18:11.000000000 +0000 > @@ -1916,20 +1916,20 @@ > T the_item; > > public: > - mapref<T> (MapBase<T>& map, const std::string& k) > + mapref(MapBase<T>& map, const std::string& k) > : s(map), the_item() > { > key = String(k); > if(map.hasKey(key)) the_item = map.getItem(key); > }; > > - mapref<T> (MapBase<T>& map, const Object& k) > + mapref(MapBase<T>& map, const Object& k) > : s(map), key(k), the_item() > { > if(map.hasKey(key)) the_item = map.getItem(key); > }; > > - ~mapref<T>() > + ~mapref() > {} > > // MapBase<T> stuff > -- END -- > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.16-2-k7 > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) > > Versions of packages python-cxx-dev depends on: > ii python-cxx 5.3.5-3 A Set of facilities to extend > Pyth > ii python-dev 2.4.3-11 Header files and a static > library > > python-cxx-dev recommends no packages. > > -- no debconf information
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]