From:             
Operating system: AIX
PHP version:      5.2.13
Package:          Compile Failure
Bug Type:         Bug
Bug description:Several files are out of ANSI spec

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 bug report at http://bugs.php.net/bug.php?id=51943&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51943&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51943&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=51943&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51943&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51943&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51943&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51943&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51943&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51943&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51943&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51943&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51943&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51943&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51943&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51943&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51943&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51943&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51943&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51943&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51943&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51943&r=mysqlcfg

Reply via email to