This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/45999] runtime error in std::vector python pretty printer.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]