See ChangeLog entry 2001-06-14 14:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
2001-06-14 18:06:27 +00:00
parent 998ef2d1ae
commit 9ad601edd6
2 changed files with 14 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
2001-06-14 14:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>
* source/rdd/dbfcdx/dbfcdx1.h
* Added #pragma pack(1) and #pragma pack() for C++ builds to eliminate
the exception c0000005 that resulted from incorrect structure layouts.
2001-06-14 13:15 UTC-0400 David G. Holm <dholm@jsd-llc.com>
* include/hbapierr.h

View File

@@ -63,12 +63,12 @@
#if (__BORLANDC__ > 1040) /* Use this only above Borland C++ 3.1 */
#pragma option -a1 /* byte alignment */
#endif
#if defined(__GNUC__)
#elif defined(__GNUC__)
#pragma pack(1)
#endif
#if defined(__WATCOMC__)
#elif defined(__WATCOMC__)
#pragma pack(push, 1);
#elif defined(__cplusplus)
#pragma pack(1)
#endif
typedef struct
@@ -101,12 +101,12 @@ typedef struct _CDXDATA
} CDXDATA;
#if (__BORLANDC__ > 1040) /* Use this only above Borland C++ 3.1 */
#pragma option -a /* default alignment */
#endif
#if defined(__GNUC__)
#elif defined(__GNUC__)
#pragma pack()
#endif
#if defined(__WATCOMC__)
#elif defined(__WATCOMC__)
#pragma pack(pop);
#elif defined(__cplusplus)
#pragma pack()
#endif
typedef CDXDATA * LPCDXDATA;