This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/45999] runtime error in std::vector python pretty printer.
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Oct 2010 10:27:19 +0000
- Subject: [Bug libstdc++/45999] runtime error in std::vector python pretty printer.
- Auto-submitted: auto-generated
- References: <bug-45999-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45999
--- Comment #4 from Pawel Sikora <pluto at agmk dot net> 2010-10-26 10:27:02 UTC ---
(In reply to comment #3)
> I've backported the fix:
> http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165658
>
> Thanks for trying the printers and submitting bug reports, Pawel
btw. just FYI, this change causes syntax-error on python-2.4 based distros.
Traceback (most recent call last):
File "<string>", line 3, in ?
File
"/local/devel/toolchain45/x86_64-gnu-linux.mt_alloc/share/gcc-4.5.2/python/libstdcxx/v6/printers.py",
line 180
obit = 1 if elt & (1 << self.so) else 0
^
SyntaxError: invalid syntax
/ahome/pawels/.gdbinit:14: Error in sourced command file:
Error while executing Python code.