Closed
Description
Previous ID | SR-1923 |
Radar | None |
Original Reporter | @phausler |
Type | Bug |
Status | Resolved |
Resolution | Done |
Additional Detail from JIRA
Votes | 1 |
Component/s | libdispatch |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: f5f4c29f9470e2d6aab03501b79a0183
Issue Description:
On Ubuntu 15 with the build command of ./swift/utils/build-script -r --foundation --libdispatch
Swift fails to compile modular components for dispatch:
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "dispatch.h"
^
/home/phausler/Documents/Public/swift-corelibs-libdispatch/dispatch/dispatch.h:60:10: note: in file included from /home/phausler/Documents/Public/swift-corelibs-libdispatch/dispatch/dispatch.h:60:
#include <dispatch/io.h>
^
/home/phausler/Documents/Public/swift-corelibs-libdispatch/dispatch/io.h:359:2: error: declaration of 'off_t' must be imported from module 'SwiftGlibc.C.stdio' before it is required
off_t offset,
^
/usr/include/stdio.h:90:17: note: previous declaration is here
typedef __off_t off_t;
^