#49952 [Opn->Fbk]: compilation error with on aix with cc_r
| From: | jani@php.net | Date: | Thu, 22 Oct 2009 10:19:51 +0000 |
| Subject: | #49952 [Opn->Fbk]: compilation error with on aix with cc_r | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143783@lists.php.net to get a copy of this message | ||
ID: 49952
Updated by: jani@php.net
Reported By: onzi at ustrem dot org
-Status: Open
+Status: Feedback
Bug Type: hash related
Operating System: AIX 6.1
PHP Version: 5.2.11
New Comment:
What errors?
Previous Comments:
------------------------------------------------------------------------
[2009-10-22 07:59:27] onzi at ustrem dot org
Description:
------------
When I use -O2, -O3 or -O5 flags there are two errors.
Problem file is ext/hash/php_hash_tiger.h.
Reproduce code:
---------------
typedef struct {
php_hash_uint64 state[3];
php_hash_uint64 passed;
unsigned char passes:1;
unsigned char length:7;
unsigned char buffer[64];
} PHP_TIGER_CTX;
Expected result:
----------------
I've changed to this and now there are no errors
typedef struct {
php_hash_uint64 state[3];
php_hash_uint64 passed;
unsigned int passes:1;
unsigned int length:7;
unsigned char buffer[64];
} PHP_TIGER_CTX;
Actual result:
--------------
Is that correct or I will have problem other modules?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49952&edit=1