From 43b061908186c24924de3b40dae2c2a2a8cc043c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 15 Nov 2009 23:01:44 +0000 Subject: [PATCH] 2009-11-16 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h - Deleted HB_ERRCODE. It already existed as HB_ERRCODE, mainly used in RDD. That makes this change a bit more complicated than I thought. Plus two more issues: 1) Some places use ULONG already to pass error code, changing these to HB_ERRCODE will instantly break binary compatibility. 2) I wonder if DOSERROR() and friends will stay compatible after moving to ULONG HB_ERRCODE. ; Please comment. --- harbour/ChangeLog | 12 ++++++++++++ harbour/include/hbdefs.h | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f0f48d12d6..402cae6386 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,18 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-11-16 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * include/hbdefs.h + - Deleted HB_ERRCODE. It already existed as HB_ERRCODE, + mainly used in RDD. That makes this change a bit more + complicated than I thought. Plus two more issues: + 1) Some places use ULONG already to pass error code, + changing these to HB_ERRCODE will instantly break + binary compatibility. + 2) I wonder if DOSERROR() and friends will stay compatible + after moving to ULONG HB_ERRCODE. + ; Please comment. + 2009-11-15 23:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h + Added HB_ERRCODE. Currently the same as USHORT. Will be diff --git a/harbour/include/hbdefs.h b/harbour/include/hbdefs.h index 9fc3702fbf..ad6f4716f7 100644 --- a/harbour/include/hbdefs.h +++ b/harbour/include/hbdefs.h @@ -716,7 +716,6 @@ typedef unsigned int HB_UINT; typedef double HB_DOUBLE; typedef ULONG HB_SIZE; /* TOFIX: Change to 'long' */ typedef void * HB_PTRVAL; /* TOFIX */ -typedef USHORT HB_ERRCODE; /* TOFIX: Change to 'unsigned int' */ /* typedef HB_POINTER; */ /* TOFIX */ /* Harbour strict bit types: */