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

Catch 2.2.3: compilation fails on platforms that don't support std::tmpfile() #1335

Closed
fschuh opened this issue Jul 11, 2018 · 1 comment
Closed

Comments

@fschuh
Copy link

fschuh commented Jul 11, 2018

Description

Catch 2.2.3 has added a new CATCH_CONFIG_EXPERIMENTAL_REDIRECT feature which introduces a dependency on std::tmpfile() even if CATCH_CONFIG_EXPERIMENTAL_REDIRECT is not defined.
This causes Catch to fail to compile on platforms where std::tmpfile() is not available.

It would be best to remove all references to std::tmpfile() except if CATCH_CONFIG_EXPERIMENTAL_REDIRECT is defined.

Steps to reproduce

Try to compile under any platform where std::tmpfile() is not available (several game consoles and embedded systems).

Extra information

  • Catch version: v2.2.3
  • Operating System: Linux
  • Compiler+version: Clang
@horenmar
Copy link
Member

This should be now implemented.

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

No branches or pull requests

2 participants