[webkit-gtk] Compilation failure: ‘struct stat’ has no member named ‘st_birthtime’
Pavel Nikulin
pavel at noa-labs.com
Thu Mar 5 11:58:41 PST 2020
Hello,
In file included from
DerivedSources/WebKit/unified-sources/UnifiedSource-72468c22-7.cpp:8:
/var/tmp/portage/net-libs/webkit-gtk-2.26.4/work/webkitgtk-2.26.4/Source/WebKit/NetworkProcess/cache/NetworkCacheFileSystem.cpp:
In function ‘WebKit::NetworkCache::FileTimes
WebKit::NetworkCache::fileTimes(const WTF::String&)’:
/var/tmp/portage/net-libs/webkit-gtk-2.26.4/work/webkitgtk-2.26.4/Source/WebKit/NetworkProcess/cache/NetworkCacheFileSystem.cpp:123:48:
error: ‘struct stat’ has no member named ‘st_birthtime’
123 | return { WallTime::fromRawSeconds(fileInfo.st_birthtime),
WallTime::fromRawSeconds(fileInfo.st_mtime) };
| ^~~~~~~~~~~~
/var/tmp/portage/net-libs/webkit-gtk-2.26.4/work/webkitgtk-2.26.4/Source/WebKit/NetworkProcess/cache/NetworkCacheFileSystem.cpp:123:107:
error: could not convert ‘{<expression error>,
WTF::WallTime::fromRawSeconds((double)fileInfo.stat::st_mtim.timespec::tv_sec)}’
from ‘<brace-enclosed initializer list>’ to
‘WebKit::NetworkCache::FileTimes’
123 | return { WallTime::fromRawSeconds(fileInfo.st_birthtime),
WallTime::fromRawSeconds(fileInfo.st_mtime) };
|
^
|
|
|
<brace-enclosed initializer
list>
More information about the webkit-gtk
mailing list