ID: 12913
Updated by: derick
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: Linux/Slackware 8
PHP Version: 4.0.6
New Comment:

Fixed in latest CVS (says user)

Previous Comments:

[2001-08-23 11:27:51] [EMAIL PROTECTED]

That fixed it, worked just fine, and even compiled Oracle8 support in without errors!


[2001-08-22 18:31:14] [EMAIL PROTECTED]

Please try the latest CVS snapshot from since this is most 
fixed. The scanners don't use c++ code anymore.



[2001-08-22 17:58:02] [EMAIL PROTECTED]

Quick note:  I've seen this before, and it was on a Solaris 2.7 box, running GCC3.  
Has anybody else had this problem?

GCC Version:  3.0 (Single threaded)
Flex Version: 2.5.4
Make Version: 3.79.1

Error information:

root@oracle:/usr/src/php-4.0.6# make
Making all in Zend
make[1]: Entering directory `/usr/src/php-4.0.6/Zend'
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../main   
In file included from FlexLexer.h:47,
/usr/local/include/g++-v3/backward/iostream.h:36: using directive `istream'
   introduced ambiguous type `istream'
In file included from
zend_istdiostream.h:8: 'stdiobuf' is used as a type, but is not defined as a
zend_istdiostream.h:11: syntax error before `*' token
zend_istdiostream.h: In constructor `istdiostream::istdiostream(FILE*)':
zend_istdiostream.h:10: class `istdiostream' does not have any field named
zend_istdiostream.h:10: no matching function for call to
   `std::basic_istream<char, std::char_traits<char> >::basic_istream()'
/usr/local/include/g++-v3/bits/std_istream.h:209: candidates are:
   std::basic_istream<_CharT, _Traits>::basic_istream(const
   std::basic_istream<_CharT, _Traits>&) [with _CharT = char, _Traits =
   _Traits>::basic_istream(std::basic_streambuf<_CharT, _Traits>*) [with _CharT
   = char, _Traits = std::char_traits<char>]
zend_istdiostream.h:10: `_file' undeclared (first use this function)
zend_istdiostream.h:10: (Each undeclared identifier is reported only once for
   each function it appears in.)
zend_istdiostream.h: At global scope:
zend_istdiostream.h:12: parse error before `}' token In function `void
   zend_file_handle_dtor(zend_file_handle*)': no matching function for call to
   `std::basic_streambuf<char, std::char_traits<char> >::stdiofile()' In function `int
   open_file_for_scanning(zend_file_handle*, zend_compiler_globals*)': no matching function for call to
   `std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(int&)'
/usr/local/include/g++-v3/bits/std_iosfwd.h:81: candidates are:
   std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(const
   std::basic_ifstream<char, std::char_traits<char> >&)
   std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*,
   std::_Ios_Openmode = std::ios_base::in) [with _CharT = char, _Traits =
   std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char,
   _Traits = std::char_traits<char>] In member function `int
   ZendFlexLexer::lex_scan(zval*, zend_compiler_globals*)': cannot convert `std::istream*' to `istream*'
   in assignment In member function `void
   zendFlexLexer::yy_load_buffer_state()': cannot convert `istream*' to `std::istream*'
   in assignment In member function `void
   zendFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)': cannot convert `std::istream*' to `istream*'
   in assignment
make[1]: *** [zend_language_scanner_cc.lo] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.6/Zend'
make: *** [all-recursive] Error 1


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to