Edit report at http://bugs.php.net/bug.php?id=51943&edit=1

 ID:               51943
 Updated by:       ka...@php.net
 Reported by:      CoreyStup at gmail dot com
 Summary:          Several files are out of ANSI spec
-Status:           Assigned
+Status:           Closed
 Type:             Bug
 Package:          Compile Failure
 Operating System: AIX
 PHP Version:      5.2.13
 Assigned To:      kalle

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in the latest RC for both 5.2 and 5.3


Previous Comments:
------------------------------------------------------------------------
[2010-07-14 02:04:45] ka...@php.net

Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=301253
Log: Update the re2c files aswell (bug #51943)

------------------------------------------------------------------------
[2010-07-14 01:59:56] ka...@php.net

Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=301252
Log: Fixed bug #51943 (Several files are out of ANSI spec)

# Based on patch by CoreyStup at gmail dot com

------------------------------------------------------------------------
[2010-06-21 07:49:30] ka...@php.net

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

------------------------------------------------------------------------
[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

Reply via email to