Skip to content

Xcode 10 libc++ and backwards compatiblity #207

@teki

Description

@teki

Environment:
OS: macOS 10.13.6
Compiler: Xcode 10, clang-1000.11.45.2
Relevant compiler flag: -std=c++1z

Got this error

webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:83:12: error: call to unavailable function 'get': introduced in macOS 10.14
    return absl::get<VideoPayload>(payload_);

I guess the checks in config.h are not strict enough for this combination.
The type of payload_ is:

  absl::variant<AudioPayload, VideoPayload> payload_;

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions