summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.12.8
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2020-03-26 12:52:22 +0100
committerTor Arne Vestbø <torarnv@gmail.com>2020-03-31 04:57:17 +0100
commit7593cbc474f08f7f2d0331f60f28ea467a8de8c2 (patch)
treee65230b5a8742f6d09b72069aa50514079d0714b /dist/changes-5.12.8
parentc92ca4a41fdde11fee478eebba5702726e1bf3e2 (diff)
Fix build with macOS 10.15 and deployment 10.12
io/qfilesystemengine_unix.cpp:1420:9: error: 'futimens' is only available on macOS 10.13 or newer [-Werror,-Wunguarded-availability-new] if (futimens(fd, ts) == -1) { ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/sys/stat.h:396:9: note: 'futimens' has been marked as being introduced in macOS 10.13 here, but the deployment target is macOS 10.12.0 int futimens(int __fd, const struct timespec __times[2]) __API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0), watchos(4.0)); ^ io/qfilesystemengine_unix.cpp:1420:9: note: enclose 'futimens' in a __builtin_available check to silence this warning if (futimens(fd, ts) == -1) { ^~~~~~~~ Change-Id: Ib52adf7b1ec4f1057d8cb260a00da509429cfaed Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 2f030c2cf3fe368be217c0e0b157e050d1c27afc)
Diffstat (limited to 'dist/changes-5.12.8')
0 files changed, 0 insertions, 0 deletions