'ello
I'm trying to compile that latest source release of PHP4 with vc6. There's been a few hitches, but I've worked all those out. Just one last one (hopefully) that I'm having trouble fixing and can't find anthing on the net regarding this.
the warnings i'm not to concerned about as they've been littered throughout the compilation process, but the _flag not being a member....
error report:
zend_language_scanner.l(22) : warning C4005: 'yyleng' : macro redefinition
C:\Documents and Settings\Developer\My Documents\SRC\PHP\php-4.3.6\Zend\zend_language_scanner.c(12) : see previous definition of 'yyleng'
zend_language_scanner.l(23) : warning C4005: 'yytext' : macro redefinition
C:\Documents and Settings\Developer\My Documents\SRC\PHP\php-4.3.6\Zend\zend_language_scanner.c(16) : see previous definition of 'yytext'
zend_language_scanner.l(24) : warning C4005: 'yytext_ptr' : macro redefinition
zend_language_scanner.c(289) : see previous definition of 'yytext_ptr'
zend_language_scanner.l(25) : warning C4005: 'yyin' : macro redefinition
C:\Documents and Settings\Developer\My Documents\SRC\PHP\php-4.3.6\Zend\zend_language_scanner.c(11) : see previous definition of 'yyin'
zend_language_scanner.l(26) : warning C4005: 'yyout' : macro redefinition
C:\Documents and Settings\Developer\My Documents\SRC\PHP\php-4.3.6\Zend\zend_language_scanner.c(14) : see previous definition of 'yyout'
zend_language_scanner.c(3596) : warning C4133: '=' : incompatible types - from 'struct iobuf ' to 'struct zend_file_handle '
zend_language_scanner.c(3599) : warning C4133: '=' : incompatible types - from 'struct iobuf ' to 'struct zend_file_handle '
zend_language_scanner.c(5145) : warning C4133: '=' : incompatible types - from 'struct zend_file_handle ' to 'struct iobuf '
zend_language_scanner.c(5358) : warning C4133: 'function' : incompatible types - from 'struct zend_file_handle ' to 'struct iobuf '
zend_language_scanner.c(5358) : error C2039: 'flag' : is not a member of 'zend_file_handle'
C:\Documents and Settings\Developer\My Documents\SRC\PHP\php-4.3.6\Zend\zend_compile.h(167) : see declaration of 'zend_file_handle'
zend_language_scanner.c(5358) : warning C4133: 'function' : incompatible types - from 'struct zend_file_handle ' to 'struct iobuf '
zend_language_scanner.c(5358) : error C2039: 'flag' : is not a member of 'zend_file_handle'
C:\Documents and Settings\Developer\My Documents\SRC\PHP\php-4.3.6\Zend\zend_compile.h(167) : see declaration of 'zend_file_handle'
zend_language_scanner.c(5630) : warning C4133: '=' : incompatible types - from 'struct iobuf ' to 'struct zend_file_handle '
zend_language_scanner.c(5688) : warning C4273: 'isatty' : inconsistent dll linkage. dllexport assumed.
seeing as i hadn't modified anything at this point and am just trying to compile 'out of the box' it wasn't expected.
has anyone had this problem? any solutions?
thankyou
daniel