ID:               39975
 User updated by:  kprzemek at coig dot katowice dot pl
 Reported By:      kprzemek at coig dot katowice dot pl
-Status:           Assigned
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: IBM AIX 5.3
 PHP Version:      5.2.0
 Assigned To:      tony2001
 New Comment:

thanks for help. I'll be waiting form IBM fix and have to buy new C
compiller with support.


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

[2007-02-06 09:50:19] kprzemek at coig dot katowice dot pl

Thanks all for help

------------------------------------------------------------------------

[2007-02-02 12:45:39] [EMAIL PROTECTED]

Andy pointed me to this... I'm surprised that we have stream_shutdown_t
used as a bitfield.  If I wrote that line, it was likely a late night.

We should change this:

   stream_shutdown_t how:3;

to this:

   unsigned int how:3;

(technically, we should also remove the "int" keyword from those
bitfields too, but most compilers will do the right thing).


------------------------------------------------------------------------

[2007-02-02 10:55:51] wharmby at uk dot ibm dot com

The IBM XL C service team have reviewed the PMR I raised and
whilst they agree it does highlight a gcc incompatibility 
the XL C compiler is adhering to the ISO standard as it 
stands. They have considered fixing this in currently 
supported version to improve the compatibility with gcc but 
cannot due to binary compatibility issues. I am in the  
process of getting the issue logged  so they can consider 
fixing it in a future version to improve gcc  compatibility.

However,  any fixed new version is in the future and the day
when all AIX users have this fixed version even further 
into the future so we either fix the PHP code to avoid the 
error messages or live with the error messages. The code generated by
the compiler appears OK but the documentation does say

  "Compilation continues and object code is generated. Error
   conditions exist that the compiler can correct, but the
   program might not run correctly."

which will leave the user with a slight uneasy feeling that 
the code may not work.

The fixes required to avoid the messages are trivial so we should
consider modifying the code unless anyone objects.

------------------------------------------------------------------------

[2007-01-17 09:45:44] wharmby at uk dot ibm dot com

PMR now raised to get XL C compiler fixed to avoid 
1506-159 error messages when bitfields defined on unsigned char type's.
PMR number is 40951,999,866

------------------------------------------------------------------------

[2007-01-11 12:33:18] wharmby at uk dot ibm dot com

Having acquired V5 documentation I can now confirm that 
-qlanglvl=extc89|extc99 is not supported under XL C V5 so cant use that
to avoid the errors reported above.

I am in the process of raising a PMR against the XL C compiler to get
the compiler fixed to avoid the error
message when bit fields defined on unsigned char types, e.g 

1506-159 (E) Bit-field type specified for how is not valid. Type
unsigned assumed.

Will post again when I have news on progress of PMR

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39975

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

Reply via email to