Edit report at http://bugs.php.net/bug.php?id=51943&edit=1
ID: 51943 Updated by: [email protected] Reported by: CoreyStup at gmail dot com Summary: Several files are out of ANSI spec -Status: Open +Status: Assigned Type: Bug Package: Compile Failure Operating System: AIX PHP Version: 5.2.13 -Assigned To: +Assigned To: kalle New Comment: The parse_date.c one is quite easy too, its just a matter of: #ifndef _AIX typedef ... #endif Since parse_date.c also defines uchar to unsigned char, im assigning this bug to myself and see if i can get my sparse co working and ill commit this Previous Comments: ------------------------------------------------------------------------ [2010-05-28 17:08:09] CoreyStup at gmail dot com Description: ------------ Using a native compiler on AIX, several files are not ANSI compliant and won't compile. ext/pdo/php_pdo_driver.h, trailing commas are not allowed in enums. ext/hash/php_hash_tiger.h, bitfields must be defined as type int, unsigned int, or signed int. char is not allowed. ext/date/lib/parse_date.c, uchar already defined conflict. I'm not sure what the correct fix is. AIX already has uchar defined in sys/types.h: /usr/include/sys/types.h:typedef unsigned char uchar_t; /usr/include/sys/types.h:typedef uchar_t uchar; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51943&edit=1
