[Bug c++/12284] New: IWBN to not have to quote anonymous namespaces

dje at google dot com sourceware-bugzilla@sourceware.org
Thu Dec 2 20:53:00 GMT 2010


http://sourceware.org/bugzilla/show_bug.cgi?id=12284

           Summary: IWBN to not have to quote anonymous namespaces
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dje@google.com


This works:

(gdb) p 'foo::(anonymous namespace)::bar'

This doesn't, but IWBN if it did:

(gdb) p foo::(anonymous namespace)::bar

Testcase:

namespace foo
{
  namespace
  {
    int bar;
  }
}

int
main ()
{
  return 0;
}

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Gdb-prs mailing list