[LLVMbugs] [Bug 15368] New: Show where language linkage comes from when bailing out due to redeclaration

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 26 11:57:03 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15368

            Bug ID: 15368
           Summary: Show where language linkage comes from when bailing
                    out due to redeclaration
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Test case:

extern "C" {
  extern int foo;
  }

extern "C++" {
  extern int foo;
}

It helps a lot when dealing with nested headers to point to the "C" and "C++"
as note when complaining about the redeclaration. They can be in separate
headers for example.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130226/208db8da/attachment.html>


More information about the llvm-bugs mailing list