Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates readme for macOS 12.2.1 #236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bwiedmann
Copy link

Got the following errors upon compilation on macOS 12.2.1:

mp4.cpp:707:44: error: expected expression
        std::sort(packets.begin(), packets.end(), [](const Match &m1, const Match &m2) { return m1.offset < m2.offset; });
                                                  ^
...
mp4.cpp:790:35: error: expected expression
        sort(group.begin(), group.end(), [](const Match &m1, const Match &m2) { return m1.chances > m2.chances; });
...
39 warnings and 2 errors generated.

Was able to fix it by adding -std=c++11 to the compile command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant