File tree Expand file tree Collapse file tree 5 files changed +11
-3
lines changed Expand file tree Collapse file tree 5 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 211d41948a9f5bb4e6f322cb8639e01439e13abf
5
+ refs/heads/try: c141e7a068e3fbb1a5d24dcd000567b7731910bb
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ extern "C" {
38
38
#include < pthread.h>
39
39
#include < errno.h>
40
40
#include < dirent.h>
41
+
42
+ #define GCC_VERSION (__GNUC__ * 10000 \
43
+ + __GNUC_MINOR__ * 100 \
44
+ + __GNUC_PATCHLEVEL__)
45
+
41
46
#else
42
47
#error "Platform not supported."
43
48
#endif
Original file line number Diff line number Diff line change 3
3
#define __STDC_LIMIT_MACROS 1
4
4
#endif
5
5
6
- #include < vector>
7
6
#include " rust_internal.h"
8
7
#include " rust_util.h"
9
8
#include " rust_scheduler.h"
10
9
10
+ #include < vector>
11
+
11
12
#define KLOG_ (...) \
12
13
KLOG (this , kern, __VA_ARGS__)
13
14
#define KLOG_ERR_ (field, ...) \
Original file line number Diff line number Diff line change 34
34
// the rust stack and happen frequently enough to catch most stack changes,
35
35
// including at the beginning of all landing pads.
36
36
// FIXME: Enable this for windows
37
- #if defined __linux__ || defined __APPLE__ || defined __FreeBSD__
37
+ #if (defined __linux__ || defined __APPLE__ || defined __FreeBSD__) \
38
+ && (defined(GCC_VERSION) && GCC_VERSION > 40300 )
38
39
extern " C" void
39
40
check_stack_alignment () __attribute__ ((aligned (16 )));
40
41
#else
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ template<typename T> class indexed_list {
43
43
}
44
44
virtual int32_t remove (T* value);
45
45
virtual T * operator [](int32_t index);
46
+ virtual ~indexed_list () {}
46
47
};
47
48
48
49
template <typename T> int32_t
You can’t perform that action at this time.
0 commit comments