This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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 c++/17974] New: does strcmp_iw need to handle (anonymous namespace)?


https://sourceware.org/bugzilla/show_bug.cgi?id=17974

            Bug ID: 17974
           Summary: does strcmp_iw need to handle (anonymous namespace)?
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

This is split out from PR 17591.
I'm just filing this so I don't drop the issue.

strcmp_iw will stop at '(' but it makes one wonder what happens if the symbol
name has "(anonymous namespace)". We need to verify that either there isn't a
problem and document it in the function comment of strcmp_iw so that the next
person won't spend time wondering, or fix any bugs.

Why oh why did "(anonymous namespace)" have to get chosen as the name ... (this
issue comes up more than just with strcmp_iw).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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