-
Notifications
You must be signed in to change notification settings - Fork 6
Description
After pull source code and build it. I got errors such as following. Could you please advise me for this?
/home/nake/working/perfectswift/API-Testing-Target/Sources/APITestingTarget/utility/cmd.swift:33:30: error: use of unresolved identifier 'SO_NOSIGPIPE'
setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &one, UInt32(MemoryLayout.size));
^~~~~~~~~~~~
/home/nake/working/perfectswift/API-Testing-Target/Sources/APITestingTarget/utility/cmd.swift:84:15: error: cannot assign value of type 'Int32' to type '__suseconds_t' (aka 'Int')
tv.tv_usec = Int32((milliseconds%1000)*1000)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:0: error: build had 1 command failures
error: exit(1): /usr/bin/swift-build-tool -f /home/nake/working/perfectswift/API-Testing-Target/.build/debug.yaml