Hello,
under Solaris 9, gcc 3.1 fails compiling MySql 3.23.51 sources because of
three missing cast operators:
1. mysqld.cc line 2460 :
if (getsockname(new_sock,&dummy, &dummyLen) < 0)
should be changed to:
if (getsockname(new_sock,&dummy, (socklen_t *)&dummyLen) < 0)
2. mysqld.cc line 2394 :
&length);
should be changed to:
(socklen_t *) &length);
3. mini_client.cc line 318
if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char *)&s_err , &s_err_size) !=0)
should be changed to:
if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char *)&s_err , (socklen_t *)
&s_err_size) !=0)
With these changes applied, the compilation process runs flawlessly.
Greetings,
Christian Langnickel
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php