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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs