[haiku-bugs] [Haiku] #9398: Debugger fails to parse C++11 compiled program

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 22 Jan 2013 18:06:16 -0000

#9398: Debugger fails to parse C++11 compiled program
-----------------------------------+---------------------------
 Reporter:  pulkomandy             |        Owner:  anevilyak
     Type:  bug                    |       Status:  new
 Priority:  normal                 |    Milestone:  R1
Component:  Applications/Debugger  |      Version:  R1/alpha4.1
 Keywords:                         |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+---------------------------
 This is a reduced (but not minimal) test case.

 {{{
 wget http://pulkomandy.tk/drop/cro2_haiku_cpp98.zip
 unzip cro2_haiku_cpp98.zip
 cd software
 rm *.o
 make
 Debugger ./CrO2
 }}}

 Debugger does not manage to show the source file nor the variables.
 Removing --std=c++0x from the makefile (and recompiling) gets things
 working as expected.

 The actual use of C++11 features in the sourcecode seems unrelated to the
 problem.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9398>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: