Skip to content

problem compiling with clang #3

@geochrist

Description

@geochrist

I'm getting the following error message when trying to include this header file when compiling with clang

/Users/gjchen/projects/tau/tau2020/github/dctk/../Parser-SPEF/parser-spef/parser-spef.hpp:62:8: error:
no template named 'optional' in namespace 'std'
std::optional<std::pair<float, float>> coordinate;

gjchen% clang++ -v
Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Any idea what is going on?

Metadata

Metadata

Assignees

No one assigned

    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