Opened 11 years ago
Last modified 11 years ago
#218 new defect
define jbyte as signed char — at Initial Version
Reported by: | Yuri Dario | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | GA6 |
Component: | general | Version: | 1.6.0 Build 27 GA5 |
Severity: | high | Keywords: | |
Cc: |
Description
In the OS/2 sdk, jni_mh.h defines the following types:
#ifdef GNUC
typedef int jint;
typedef int64_t jlong;
typedef signed char jbyte;
#else
typedef long jint;
typedef int64 jlong;
typedef signed char jbyte;
#endif
but the GNUC defines are different from default ones on other platforms.
When building Apache OpenOffice, errors are issued because there isn't a direct cast from signed char to char, even if signed char is the default setting (they are treated as different types).
Note:
See TracTickets
for help on using tickets.