<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - recent header breakage in clang"
href="http://llvm.org/bugs/show_bug.cgi?id=20326">20326</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>recent header breakage in clang
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Headers
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howarth.mailing.lists@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>