[LLVMbugs] [Bug 15073] New: wcsstr

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 25 23:52:29 PST 2013


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

             Bug #: 15073
           Summary: wcsstr
           Product: clang
           Version: 3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rkotler at mips.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The following gets an error with clang++ but is okay with g++.
There should be two overloaded definitions of wsstr

#include <cwchar>

void foo() {  
  wchar_t *(*y)(wchar_t *, const wchar_t *) = wcsstr;
}

-- 
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