Opened 19 years ago

Closed 19 years ago

#4933 closed defect (fixed)

BUG mysql +server doesn't compile with gcc 4 on 10.4.2

Reported by: pguyot (Paul Guyot) Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: darwinports-bugs@…
Port:

Description

mysqld.cc: In function `int bootstrap(FILE*)': mysqld.cc:2282: warning: converting of negative value '-0x00000000000000001' to 'uint' mysqld.cc: In function `void* handle_connections_sockets(void*)': mysqld.cc:2493: error: invalid conversion from 'size_socket*' to 'socklen_t*' mysqld.cc:2493: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' mysqld.cc:2559: error: invalid conversion from 'size_socket*' to 'socklen_t*' mysqld.cc:2559: error: initializing argument 3 of 'int getsockname(int, sockaddr*, socklen_t*)'

Attached patch fixes the problem.

Attachments (1)

mysql.diff (1.4 KB) - added by pguyot (Paul Guyot) 19 years ago.
Patch to fix the problem

Download all attachments as: .zip

Change History (2)

Changed 19 years ago by pguyot (Paul Guyot)

Attachment: mysql.diff added

Patch to fix the problem

comment:1 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

mysql 4.1.4 compiles just fine with gcc4;

Note: See TracTickets for help on using tickets.