Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Vögl
waLBerla
Commits
cd4341a1
Commit
cd4341a1
authored
May 03, 2021
by
Michael Kuron
Browse files
Force use of std::experimental::filesystem with GCC 8
parent
d884044c
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/TestStdFilesystem.cpp
View file @
cd4341a1
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment