Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c? From: Zeev Suraski (zeev <email protected>)
Date: 12/26/00

This should be fixed in the latest CVS (the istdiostream issue)

Zeev

At 23:42 26/12/2000, Alex Akilov wrote:
>Bill,
>
>First off, happy holidays.
>
>Second, I got around this particular problem by adding "-Dinline= " to
>CFLAGS and setting CXX=xlC_r.
>
>Third, and unfortunately, the next problem I hit seems like more of a
>challenge to me. This problem was reported in bug 6626 by someone
>trying to compile with Sun's compiler but that bug was closed without
>a resolution. The problem is that some of the Zend code depends
>heavily on the istream and istdiostream classes/includes which are not
>implemented by the IBM C compiler. The closest thing to it are
>iostream.h and stdiostream.h (the latter implements the stdiostream
>class
>which is somewhat similar to istdiostream but not identical). I suspect
>that
>with the proper ifdefs this could be corrected but I wonder if it's
>worth the
>trouble or if it would be better for IBM C to add the istream
>implementation (not sure, but it might be ANSI?)
>
>I also noticed that the zend_language_scanner.c file attempts to define
>the
>istdiostream class in-line if it's not found. Perhaps this should be
>done in
>zend_ini_scanner as well (or some other central place?) which is where I
>
>seem to be hitting the problem. I'm attempting to mess around with this
>
>right now but I'm guessing in the dark so I think it might be better to
>let
>the Zend guys look at it.
>
>Perhaps a better avenue for us to pursue would be to try and get gcc
>working
>on the AIX machine. Probably will need to upgrade pthreads (among other
>
>things) but it might end up being easier in the long run. That is,
>unless you think
>it's important to be able to compile PHP with IBM C. It might also be
>worthwhile to upgrade the AIX level to at least 4.3.3 so that we can
>install
>Java 2.
>
>Alex
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

--
Zeev Suraski <zeev <email protected>>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>