[LLVMbugs] [Bug 14736] New: Incorrect "has internal linkage but is not defined" warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 28 17:41:35 PST 2012


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

             Bug #: 14736
           Summary: Incorrect "has internal linkage but is not defined"
                    warning
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


We warn in

------------------------
typedef struct {
  void bar();

  void foo() {
    bar();
  }
} A;

void f(A *x) {
  x->foo();
}
------------------------

but bar's linkage is not internal.

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



More information about the llvm-bugs mailing list