summarylogtreecommitdiffstats
path: root/paramotopy_fix_deprecated_boost_timer.patch
blob: bd03a1dea2dbb08fdc2db4afbf6c3ccd8f652bdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
--- a/include/para_aux_funcs.hpp
+++ b/include/para_aux_funcs.hpp
@@ -28,6 +28,7 @@
 
 #define BOOST_FILESYSTEM_VERSION 3
 #define BOOST_FILESYSTEM_NO_DEPRECATED
+#define BOOST_TIMER_ENABLE_DEPRECATED
 
 #include <boost/filesystem.hpp>
 #include <boost/filesystem/operations.hpp>

--- a/include/point.hpp
+++ b/include/point.hpp
@@ -14,6 +14,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
+#define BOOST_TIMER_ENABLE_DEPRECATED
 
 #include <boost/filesystem/operations.hpp>
 #include <boost/filesystem/path.hpp>

--- a/include/runinfo.hpp
+++ b/include/runinfo.hpp
@@ -14,6 +14,7 @@
 #include <sys/stat.h>
 #include <sys/types.h> 
 
+#define BOOST_TIMER_ENABLE_DEPRECATED
 
 #include <boost/filesystem/operations.hpp>
 #include <boost/filesystem/path.hpp>

--- a/include/step2.hpp
+++ b/include/step2.hpp
@@ -17,6 +17,7 @@
 
 #define BOOST_FILESYSTEM_VERSION 3
 #define BOOST_FILESYSTEM_NO_DEPRECATED
+#define BOOST_TIMER_ENABLE_DEPRECATED
 
 #include <boost/filesystem.hpp>
 #include <boost/filesystem/operations.hpp>

--- a/include/timing.hpp
+++ b/include/timing.hpp
@@ -16,6 +16,7 @@
 
 #define BOOST_FILESYSTEM_VERSION 3
 #define BOOST_FILESYSTEM_NO_DEPRECATED
+#define BOOST_TIMER_ENABLE_DEPRECATED
 
 #include <boost/filesystem.hpp>
 #include <boost/filesystem/operations.hpp>

--- a/include/xml_preferences.hpp
+++ b/include/xml_preferences.hpp
@@ -10,6 +10,8 @@
 #include <set>
 #include "tinyxml.h"
 
+#define BOOST_TIMER_ENABLE_DEPRECATED
+
 #include <boost/algorithm/string/case_conv.hpp>
 #include <boost/filesystem/operations.hpp>
 #include <boost/filesystem/path.hpp>