[C++-SIG] CXX compiler errors on Linux
eric jones
ej at ee.duke.edu
Sat Mar 31 14:29:48 CEST 2001
Hello,
Is CXX still under active development? I noticed the CVS has been quiet for
a while.
I grabbed the latest CVS and tried to compile the Demo on RH6.2 with
egcs-2.91.66. It failed with the error message listed below. Is there a
gcc compiler that compiles CXX correctly, or does anyone have a patches to
CXX that work with 2.91.66?
thanks,
eric
Here's the error mesage:
[root at n0 Demo]# python setup.py build
running build
running build_py
warning: build_py: package init file './__init__.py' not found (or not a
regular file)
warning: build_py: package init file './__init__.py' not found (or not a
regular file)
running build_ext
building 'CXX.example' extension
creating build
creating build/temp.linux-i686-2.1
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.1 -c
example.cxx -o build/temp.linux-i686-2.1/example.o
/usr/local/include/python2.1/CXX/Objects.hxx: In method `unsigned int
::Py::String::capacity() const':
In file included from example.cxx:14:
/usr/local/include/python2.1/CXX/Objects.hxx:1241: Internal compiler error.
/usr/local/include/python2.1/CXX/Objects.hxx:1241: Please submit a full bug
report to `egcs-bugs at egcs.cygnus.com'.
/usr/local/include/python2.1/CXX/Objects.hxx:1241: See
<URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
error: command 'gcc' failed with exit status 1
More information about the Cplusplus-sig
mailing list