Bug#137467: python-apt: gcc 2.96 problem
Package: python-apt
Version: 0.5.4.2
Severity: important
willy@merulo:~/python-apt/python-apt-0.5.4.2$ gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.1 -c python/configuration.cc
python/configuration.cc: In function `PyObject *CnfSubTree (PyObject *,
PyObject *)':
<internal>:160: too many arguments to function `void *operator new
(long unsigned int)'
python/configuration.cc:160: at this point in file
// Create a new sub configuration.
SubConfiguration *New = PyObject_NEW(SubConfiguration,&ConfigurationSubType);
new (&New->Object) Configuration(Itm);
Compiling with gcc-3.0 works fine, but I'm nervous about ABIs, since
this is c++. Anyone want to fix gcc-2.96? Thought not.
--
Revolutions do not require corporate support.
Reply to: