[Bug 13889] New: The name '__lambda' causes assertion failures for some versions of GCC


             Bug #: 13889
           Summary: The name '__lambda' causes assertion failures for some
                    versions of GCC
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev@cs.uiuc.edu
        ReportedBy: jordan_rose@apple.com
    Classification: Unclassified

cxa_demangle.cpp has a class named '__lambda'. Some versions of GCC choke on
this name when compiling with -std=c++0x, claiming (arguably correctly) that it
is reserved. There are a couple GCC bugs about it; while the latest GCC
apparently doesn't crash here, some are marked NTBF.

This was found because LLDB copied cxa_demangle.cpp; you can see the failure on
the LLDB buildbot at
http://lab.llvm.org:8011/builders/lldb-x86_64-linux/builds/1697. (More recent
builds may have other problems that cause the build to fail before reaching
this file.)


Daniel Malea <daniel.malea@intel.com> changed:

           What |Removed |Added