ID:               46040
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Bjorn dot Wiberg at its dot uu dot se
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: IBM AIX 5.3 5300-08-01-0819
 PHP Version:      5.3CVS-2008-09-10 (snap)
 New Comment:

"Perhaps" ?? Why don't you TRY it? And if it works -> send us a 
patch.


Previous Comments:
------------------------------------------------------------------------

[2008-09-10 07:49:46] Bjorn dot Wiberg at its dot uu dot se

Description:
------------
using gcc on AIX. Compilation failure due to BOOL not being defined?

Probably due to the ifndef check at
ext/pcre/pcrelib/pcre_internal.h:565:

#ifndef FALSE
typedef int BOOL;

#define FALSE   0
#define TRUE    1
#endif

I supposed FALSE is already defined (but apparently not BOOL), and
hence compilation fails.

Perhaps two checks instead would fix this? Something like:

#ifndef BOOL
typedef int BOOL;
#endif

#ifndef FALSE
#define FALSE   0
#define TRUE    1
#endif

Best regards,
Björn

Reproduce code:
---------------
#! /bin/sh
#
# Created by configure

LDFLAGS='-Wl,-bbigtoc' \
CC='gcc' \
'./configure' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-cli' \
'--enable-dbzabad ennyire a penzt szeretni, jobb a nyugalom! Tobbre mesz vele!
Ez a tapasztalatom!
Meritorius


_______________________________________________
akta mailing list
[email protected]
https://openforum.hu/mailman/listinfo/akta


_____________ NOD32 3442 (20080915) Információ _____________

Az üzenetet a NOD32 antivirus system megvizsgálta.
http://www.nod32.hu




_______________________________________________
akta mailing list
[email protected]
https://openforum.hu/mailman/listinfo/akta

Antwort per Email an