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

Fix build with new C++ compilers/libraries #45

Merged
merged 2 commits into from
Jul 13, 2021

Conversation

gatecat
Copy link
Contributor

@gatecat gatecat commented Jul 13, 2021

The first commit is a missing include and hopefully uncontroversial.

The second commit fixes the build on compilers where std::filesystem already exists, by aliasing ot::filesystem to std::experimental::filesystem rather than attempting to overwrite std::filesystem which produces an error in this case.

I think this should fix #41, too.

gatecat added 2 commits July 13, 2021 20:15
Signed-off-by: gatecat <gatecat@ds0.me>
Signed-off-by: gatecat <gatecat@ds0.me>
@tsung-wei-huang tsung-wei-huang merged commit 8fb20ff into OpenTimer:master Jul 13, 2021
@tsung-wei-huang
Copy link
Member

Thank you very much!

@gatecat gatecat deleted the cc-fixes branch July 13, 2021 20:22
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.

Compilation failed with higher version of g++
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy