[LLVMbugs] [Bug 20326] New: recent header breakage in clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 16 10:05:48 PDT 2014


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

            Bug ID: 20326
           Summary: recent header breakage in clang
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: howarth.mailing.lists at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Since around Jul 12th, clang trunk has been broken on darwin11 with the simple
test case…

#include <stdio.h>

main()
{
    printf("hello, world\n");
}

producing the error…

% /sw/opt/llvm-3.5.0/bin/clang hello.c
In file included from hello.c:2:
/usr/include/stdio.h:85:9: error: unknown type name '__darwin_off_t'
typedef __darwin_off_t          fpos_t;
        ^
/usr/include/stdio.h:414:9: error: unknown type name '__darwin_off_t'
typedef __darwin_off_t          off_t;
        ^
hello.c:4:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
main()
^~~~
1 warning and 2 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140716/eac3faad/attachment.html>


More information about the llvm-bugs mailing list