https://bugs.kde.org/show_bug.cgi?id=514676
Bug ID: 514676
Summary: Build failure on macOS 15 (Apple Silicon): <cmath> vs
<math.h> header conflict / unqualified-id errors
Classification: Frameworks and Libraries
Product: frameworks-kdoctools
Version First unspecified
Reported In:
Platform: macOS (DMG)
OS: macOS
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
When attempting to build KDocTools on macOS 15.0 (Sequoia) using AppleClang
17.0.0 via kde-builder, the build fails during the compilation of
`loggingcategory.cpp` and `xslt_kde.cpp`.
The error indicates a conflict between the C++ standard library headers and the
macOS system SDK math headers, specifically regarding `std::isinf`,
`std::isnan`, and `abs`.
STEPS TO REPRODUCE
1. Setup kde-builder on macOS 15 (Apple Silicon M-series).
2. Attempt to build kdoctools (`./kde-builder kdoctools`).
3. Build fails at cmake targeting Ninja.
OBSERVED RESULT
Compilation errors regarding "expected unqualified-id" in cmath.
SOFTWARE/OS VERSIONS
macOS: 15.0 (Sequoia)
Processor: Apple Silicon (M-series)
Compiler: AppleClang 17.0.0.17000603
Qt Version: 6.8.1 (via Homebrew)
KDE Frameworks Version: master (latest git)
--
You are receiving this mail because:
You are watching all bug changes.