spinsort and flat_stable_sort don't compile with -fno-exceptions or -fno-operator-names GCC flags
Open
- Dominant language
- C++
- Stars
- 58
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
Boost version: 1.72.0 (Arch Linux package version: *boost 1.72.0-2*).
The other two sorting methods I tested - `spreadsort::float_sort` and `pdqsort` - work just fine with these compiler flags.
These two flags are used by default in KDE: https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/master/kde-modules/KDECompilerSettings.cmake. Possible workaround (which will hopefully work): create a tiny static library that disables these flags and calls `spinsort` or `flat_stable_sort`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.