You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
The text was updated successfully, but these errors were encountered: