Skip to content

Compilation on MacOS Sequoia 15.6.1 with apple clang 17.0.0 #179

@jkhoogland

Description

@jkhoogland

Building on MacOS Sequoia 15.6.1 with apple clang 17.0.0 fails at the moment.

In file included from /Users/jiri/dev/gh/AAD/xad/src/XAD/Vec.hpp:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/array:152:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:174:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:316:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__math/hypot.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__math/exponential_functions.h:17:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/promote.h:50:26: error: no matching function for call to '__test'
   50 |   using type = decltype((__test(_Args()) + ...));
      |                          ^~~~~~
....
// more failures
...

To Reproduce

cmake -G "Unix Makefiles" -H. -B_bld
cmake --build _bld

Environment:

  • OS: MacOS Sequoia
  • Version: 15.6.1
  • Compiler: Apple clang version 17.0.0 (clang-1700.0.13.5)
    • Target: arm64-apple-darwin24.6.0
    • Thread model: posix
    • InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  • CMake Configuration: 4.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions