File tree 2 files changed +26
-4
lines changed
2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_
11
11
add_compile_options (-Wno-error)
12
12
endif ()
13
13
14
- if (MSVC )
15
- add_compile_options ($<$<COMPILE_LANGUAGE:C,CXX>:/permissive->)
16
- endif ()
17
-
18
14
function (create_standalone_jit)
19
15
20
16
set (oneValueArgs TARGET OS ARCH)
Original file line number Diff line number Diff line change @@ -79,6 +79,32 @@ class UnwindBase
79
79
{
80
80
}
81
81
82
+ // TODO: How do we get the ability to access uwiComp without error on Clang?
83
+ #if defined(DEBUG) && !defined(__GNUC__)
84
+
85
+ template <typename T>
86
+ T dspPtr (T p)
87
+ {
88
+ return uwiComp->dspPtr (p);
89
+ }
90
+
91
+ template <typename T>
92
+ T dspOffset (T o)
93
+ {
94
+ return uwiComp->dspOffset (o);
95
+ }
96
+
97
+ static const char * dspBool (bool b)
98
+ {
99
+ return (b) ? " true" : " false" ;
100
+ }
101
+
102
+ #endif // DEBUG
103
+
104
+ //
105
+ // Data
106
+ //
107
+
82
108
Compiler* uwiComp;
83
109
};
84
110
You can’t perform that action at this time.
0 commit comments