To resolve the "redefinition of <any trigonometric function>" error, comment out the math include section (below) in /usr/lib/swift/lib/swift_static/_FoundationCShims/_CStdlib.h.
//#if __has_include(<math.h>)
//#include <math.h>
//#endif
| Git Clone URL: | https://aur.archlinux.org/fcitx5-hazkey.git (read-only, click to copy) |
|---|---|
| Package Base: | fcitx5-hazkey |
| Description: | Japanese input method for fcitx5, powered by azooKey engine |
| Upstream URL: | https://github.com/7ka-Hiira/fcitx5-hazkey |
| Licenses: | MIT |
| Provides: | hazkey-server |
| Submitter: | hiira |
| Maintainer: | hiira |
| Last Packager: | hiira |
| Votes: | 0 |
| Popularity: | 0.000000 |
| First Submitted: | 2024-06-17 12:31 (UTC) |
| Last Updated: | 2025-11-11 09:50 (UTC) |
To resolve the "redefinition of <any trigonometric function>" error, comment out the math include section (below) in /usr/lib/swift/lib/swift_static/_FoundationCShims/_CStdlib.h.
//#if __has_include(<math.h>)
//#include <math.h>
//#endif
Pinned Comments
hiira commented on 2025-11-09 11:41 (UTC)
To resolve the "redefinition of <any trigonometric function>" error, comment out the
mathinclude section (below) in/usr/lib/swift/lib/swift_static/_FoundationCShims/_CStdlib.h.