Your message dated Sun, 22 Oct 2006 15:34:23 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#393602: python-cxx-dev: Syntax error in Object.hxx
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
closing the report; gcc-4.1.1-17 fixes the parse error.
--- End Message ---