ID:               50496
 Updated by:       srina...@php.net
 Reported By:      alexander at skwar dot name
-Status:           Assigned
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Solaris 10, Sparc
 PHP Version:      5.3SVN-2009-12-16 (snap)
 Assigned To:      srinatar
 New Comment:

on other platforms like HP-UX and AIX as well as gcc, these types
(bool, 
true,false) are defined by simply including the header file. these 
platforms do not require c99 standard to be defined as pre-requisite to

define these macros. 

at this moment, this seems to be solaris sun studio compiler only
issue. 



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

[2009-12-16 21:33:21] s...@php.net

Automatic comment from SVN on behalf of srinatar
Revision: http://svn.php.net/viewvc/?view=revision&revision=292223
Log: - Fix NEWS for bug #50496
# Update NEWS to keep resolved bugs in decreasing order (Christopher
Jones)

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

[2009-12-16 21:10:11] paj...@php.net

Pls don't open another bug for the exact same problem.

If the header is only available in c99 and c99 can have bad side
effects, why not define manually on Solaris what is necessary for the
code to work and be done with this problem?

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

[2009-12-16 20:50:29] srina...@php.net

[ see also bug #50497 ] 

thanks for taking time to report this issue. the fix for this issue is

now integrated. mean while, your suggested work around (export
CFLAGS=-
xc99=all) should be acceptable. 

- Sriram



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

[2009-12-16 20:49:08] s...@php.net

Automatic comment from SVN on behalf of srinatar
Revision: http://svn.php.net/viewvc/?view=revision&revision=292222
Log: - Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99
compilation environment.)

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

[2009-12-16 20:45:51] johan...@php.net

This is changing it globally, no? - Might this have negative effects (I
don't know if C99 breaks C89 code in anyway, while in general I'd like
to move to C99 due to the types and some other stuff it offers)

And might we have trouble with other non-gcc platforms?

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

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/50496

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

Reply via email to