Closed GoogleCodeExporter closed 9 years ago
Original comment by evan.teran
on 3 Oct 2012 at 4:13
It comes from improper token pasting.
This fixes the build for me. There may be other issues that come up with
actually trying to use it on OS X, but at least this is a start.
diff --git a/plugins/DebuggerCore/unix/osx/PlatformState.cpp
b/plugins/DebuggerCore/unix/osx/PlatformState.cpp
index d27bd63..efd6f79 100644
--- a/plugins/DebuggerCore/unix/osx/PlatformState.cpp
+++ b/plugins/DebuggerCore/unix/osx/PlatformState.cpp
@@ -18,7 +18,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
#include "PlatformState.h"
#if __DARWIN_UNIX03
-#define REG(x) __x
+#define REG(x) __##x
#else
#define REG(x) x
#endif
Original comment by j...@vt.edu
on 15 Dec 2013 at 3:41
Thanks for the comment/Fix. I've actually already applied that fix int he SVN.
Please give the SVN trunk a try as it has much newer/improved code :-).
Thanks!
Original comment by evan.teran
on 16 Dec 2013 at 4:31
Original issue reported on code.google.com by
evan.teran
on 3 Oct 2012 at 3:22