Skip to content

Bug: error: 'value' is unavailable: introduced in macOS 10.13 #203

@LFSaw

Description

@LFSaw

Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.

When trying to compile the current source (ab4b3ca), I get an error:

In file included from /Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-docs-build/generated_sources/DumpParams.cpp:70:
/Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-core-src/include/flucoma/clients/nrt/KDTreeClient.hpp:81:41: error: 'value' is unavailable: introduced in macOS 10.13
    index k = nNeighbours ? nNeighbours.value() : get<kNumNeighbors>();
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
    constexpr value_type& value() &
                          ^
In file included from /Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-docs-build/generated_sources/DumpParams.cpp:70:
/Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-core-src/include/flucoma/clients/nrt/KDTreeClient.hpp:102:41: error: 'value' is unavailable: introduced in macOS 10.13
    index k = nNeighbours ? nNeighbours.value() : get<kNumNeighbors>();
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
    constexpr value_type& value() &

Software:

System Software Overview:

  System Version: macOS 14.8.5 (23J423)
  Kernel Version: Darwin 23.6.0
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled

Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro18,3
  Chip: Apple M1 Pro

SuperCollier sources supercollider/supercollider@0b177d1

What was the expected result?

it compiles

What was the actual result?

it generates this error:

In file included from /Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-docs-build/generated_sources/DumpParams.cpp:70:
/Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-core-src/include/flucoma/clients/nrt/KDTreeClient.hpp:81:41: error: 'value' is unavailable: introduced in macOS 10.13
    index k = nNeighbours ? nNeighbours.value() : get<kNumNeighbors>();
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
    constexpr value_type& value() &
                          ^
In file included from /Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-docs-build/generated_sources/DumpParams.cpp:70:
/Users/tboverma/vol/dev/sound/src/flucoma-sc/build/_deps/flucoma-core-src/include/flucoma/clients/nrt/KDTreeClient.hpp:102:41: error: 'value' is unavailable: introduced in macOS 10.13
    index k = nNeighbours ? nNeighbours.value() : get<kNumNeighbors>();
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/optional:1001:27: note: 'value' has been explicitly marked unavailable here
    constexpr value_type& value() &

What operating system were you using?

Mac

Operating system version

macOS 14.8.5

FluCoMa Version

ab4b3ca

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions