[LLVMbugs] [Bug 6969] New: Getting wint_t from <wctype.h> does not work

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 28 11:53:04 PDT 2010


           Summary: Getting wint_t from <wctype.h> does not work
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pipping.elias at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I'm trying to compile lsof on linux. wint_t ends up undefined. lsof #includes
<wctype.h>, which, according to e.g.
http://www.opengroup.org/onlinepubs/007908799/xsh/wctype.h.html should define

The header looks like this:

/* Get wint_t from <stddef.h>.  */
# define __need_wint_t
# include <stddef.h>

clang comes with its own copy of <stddef.h> however.

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