Open jukkae opened 5 years ago
Actually, the error is bad_optional_access
. Cause seems same. https://stackoverflow.com/questions/44217316/how-do-i-use-stdoptional-in-c
Passing -mmacosx-version-min=10.12
to clang leads to error: call to unavailable function 'get': introduced in macOS 10.14
:(
Technically unavailable before 10.14, but see https://stackoverflow.com/questions/52310835/xcode-10-call-to-unavailable-function-stdvisit for workaround