Posts: 1,216
Threads: 75
Joined: Jun 2011
Quote:
I've uploaded new versions with now support for Linux 64 bits and a few fixed & improvements in STOPWATCH.
Are you sure?
I only see the wp-34s-flash-windows.zip updated but not the wp-34s-emulator-windows.zip.
Edited: 14 Apr 2012, 4:37 a.m.
Posts: 20
Threads: 4
Joined: Nov 2011
I have checked Rev. 2796.
It seemes that trunk/decNumber/decContext.h needs following fix.
Rev. 2796 version works on realbuild version.
But it does not work on QtGui without the patch.
% LANGUAGE=en svn diff trunk/decNumber/decContext.h
Index: trunk/decNumber/decContext.h
===================================================================
--- trunk/decNumber/decContext.h (revision 2796)
+++ trunk/decNumber/decContext.h (working copy)
@@ -29,6 +29,9 @@
/* extended -- must be either 0 or 1 [present only if DECSUBSET] */
/* */
/* ------------------------------------------------------------------ */
+#if defined __x86_64__
+# define __WORDSIZE 64
+#endif
#if !defined(DECCONTEXT)
#define DECCONTEXT
@@ -43,7 +46,11 @@
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
+#if __WORDSIZE == 64
+typedef unsigned long int uint64_t;
+#else
typedef unsigned long long int uint64_t;
+#endif
/* Conditional code flag -- set this to 0 for best performance */
#define DECSUBSET 0 // 1=enable subset arithmetic
Other fixes works good.