http://llvm.org/bugs/show_bug.cgi?id=9202
Summary: False unused function warning for extern "C" function
in unnamed namespace
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
$ clang --version
clang version 2.9 (trunk 125213)
Target: x86_64-apple-darwin10
Thread model: posix
$ printf 'namespace { extern "C" void f() {} }\n' > test.cc
$ clang -c -Wunused-function test.cc
test.cc:1:29: warning: unused function 'f' [-Wunused-function]
namespace { extern "C" void f() {} }
^
1 warning generated.
--
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