[webkit-changes] [WebKit/WebKit] e2a280: [GCC] Build fix for Ubuntu 22.04 after 281895 at main
Diego Pino
noreply at github.com
Wed Aug 7 02:30:53 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e2a2805dac3e58fdcaa091ac2b104880c0ecc425
https://github.com/WebKit/WebKit/commit/e2a2805dac3e58fdcaa091ac2b104880c0ecc425
Author: Diego Pino Garcia <dpino at igalia.com>
Date: 2024-08-07 (Wed, 07 Aug 2024)
Changed paths:
M Source/WTF/wtf/Float16.h
M Source/WTF/wtf/PlatformHave.h
Log Message:
-----------
[GCC] Build fix for Ubuntu 22.04 after 281895 at main
https://bugs.webkit.org/show_bug.cgi?id=277672
Reviewed by Frederic Wang.
GCC <12 do not feature type '_Float16'.
Define symbol 'HAVE_FLOAT16' based on current condition to use _Float16,
plus additional condition '__FLT16_MANT_DIG__'.
* Source/WTF/wtf/Float16.h:
(WTF::convertFloat16ToFloat32):
(WTF::convertFloat32ToFloat16):
(WTF::convertFloat64ToFloat16):
* Source/WTF/wtf/PlatformHave.h:
Canonical link: https://commits.webkit.org/281937@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list