Hi,

I was compiling PHP 5.4 SVN for Windows and noticed that the NTS Debug
version does not compile correctly if mysqlnd is enabled. The ZTS Debug,
ZTS Release and NTS Release versions work without any problems. Also,
PHP 5.3 in all 4 variants (Debug/Release, NTS/ZTS) has no problems.

I've attached the error messages I got as a text file, I apologize in
advance for the German error messages, the Visual Studio version I have
I have no idea how to make it output English messages. (There appears to
be no LC_ALL=C in Windows.) However, it should be easy to search for the
corresponding error message IDs if you have trouble understanding the
messages.

To summarize the error, it chokes on the following statements:

mysqlnd_driver.c, 100:
        DBG_ENTER("mysqlnd_error_list_pdtor");

mysqlnd_driver.c, 104:
        DBG_VOID_RETURN;

Since I have no idea whatsoever about the internals of mysqlnd, I'm
posting this to the list.

Regards,
Christian
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2143: Syntaxfehler: Es fehlt ';' vor 'Typ'
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2275: 'uint64_t': Ungültige Verwendung dieses Typs als Ausdruck
        d:\php-sdk\php54dev\vc9\x86\php5.4-svn\win32\php_stdint.h(87): Siehe 
Deklaration von 'uint64_t'
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner '__dbg_prof_start'
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2065: '__dbg_prof_start': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2275: 'zend_bool': Ungültige Verwendung dieses Typs als Ausdruck
        d:\php-sdk\php54dev\vc9\x86\php5.4-svn\zend\zend_types.h(25): Siehe 
Deklaration von 'zend_bool'
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'dbg_skip_trace'
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2065: 'dbg_skip_trace': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2065: 'dbg_skip_trace': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
warning C4133: 'Funktion': Inkompatible Typen - von 'int *' zu 'timeval *'
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2065: '__dbg_prof_start': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2224: Der linke Teil von '.tv_sec' muss eine Struktur/Union sein
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : 
error C2224: Der linke Teil von '.tv_usec' muss eine Struktur/Union sein
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : 
error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : 
warning C4133: 'Funktion': Inkompatible Typen - von 'int *' zu 'timeval *'
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : 
error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : 
error C2224: Der linke Teil von '.tv_sec' muss eine Struktur/Union sein
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : 
error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : 
error C2224: Der linke Teil von '.tv_usec' muss eine Struktur/Union sein
d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : 
error C2065: '__dbg_prof_start': nichtdeklarierter Bezeichner

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to