Commit 23c391f
Update PythonTest.h to support building using GCC v7
This commit fixes the error reported below by copying and adapting
compatibility logic already used in source file like PluginManager.cpp
Error:
[ 78%] Built target Sofa.Component.LinearSystem_test
In file included from /path/to/Slicer-SOFA-build/SofaPython3/Testing/src/SofaPython3Testing/PythonTestExtractor.h:22:0,
from /path/to/Slicer-SOFA-build/SofaPython3/Testing/src/SofaPython3Testing/PythonTestExtractor.cpp:21:
/path/to/Slicer-SOFA-build/SofaPython3/Testing/src/SofaPython3Testing/PythonTest.h:28:12: error: ‘std::filesystem’ has not been declared
using std::filesystem::path;
^~~~~~~~~~1 parent aa0ccbe commit 23c391f
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
0 commit comments