[Bug 173035] Review Request: chmlib - Library for dealing with ITSS/CHM format files
bugzilla at redhat.com
bugzilla at redhat.com
Sat Dec 17 18:57:38 UTC 2005
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Review Request: chmlib - Library for dealing with ITSS/CHM format files
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173035
------- Additional Comments From lemenkov at newmail.ru 2005-12-17 13:57 EST -------
Failed build for PPC arch.
I haven't access to the PPC-computer, so I can't find out what's wrong exactly.
Log:
http://buildsys.fedoraproject.org/logs/fedora-development-extras/1868-chmlib-0.37.4-1.fc5/ppc/build.log
Error was generated by #error-directive at that string "src/chm_lib.c:186". If
we look there, we'll find this piece of code:
=========================================================
/* i386, 32-bit, Windows */
#ifdef WIN32
typedef unsigned char UChar;
typedef __int16 Int16;
typedef unsigned __int16 UInt16;
typedef __int32 Int32;
typedef unsigned __int32 UInt32;
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
/* I386, 32-bit, non-Windows */
/* Sparc */
/* MIPS */
/* PPC */
#elif __i386__ || __sun || __sgi || __ppc__
typedef unsigned char UChar;
typedef short Int16;
typedef unsigned short UInt16;
typedef long Int32;
typedef unsigned long UInt32;
typedef long long Int64;
typedef unsigned long long UInt64;
/* x86-64 */
/* Note that these may be appropriate for other 64-bit machines. */
#elif __x86_64__
typedef unsigned char UChar;
typedef short Int16;
typedef unsigned short UInt16;
typedef int Int32;
typedef unsigned int UInt32;
typedef long Int64;
typedef unsigned long UInt64;
#else
/* yielding an error is preferable to yielding incorrect behavior */
#error "Please define the sized types for your platform in chm_lib.c"
#endif
=========================================================
Looks like wrong arch-definition at that place:
> #elif __i386__ || __sun || __sgi || __ppc__
What arch-macro defined by gcc at PPC-box? __ppc32__? __ppc64__?
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the fedora-extras-list
mailing list