Skip to content
Snippets Groups Projects
Commit cd4341a1 authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

Force use of std::experimental::filesystem with GCC 8

parent d884044c
No related merge requests found
......@@ -5,6 +5,10 @@
#include <experimental/filesystem>
#endif
#if defined(WALBERLA_USE_STD_FILESYSTEM) && defined(__GLIBCXX__) && (!defined(_GLIBCXX_RELEASE) || _GLIBCXX_RELEASE < 9)
#error "std:filesystem broken due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90050"
#endif
int main() {
#if defined(WALBERLA_USE_STD_FILESYSTEM)
std::filesystem::path p("/tmp/test.txt");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment