Subject: mysql-4.0.20 with gcc-3.4.1, compile error on cygwin
From: "Gerrit P. Haase" <[email-masked]>
To: [email-masked], [email-masked]
Date: Mon, 23 Aug 2004 17:44:32 +0200

Hello,

getting this error with the gcc-3.4.1 test release for cygwin:

gcc -c -I. -I/instsoft/mysql/mysql-4.0.20/bdb/dist/../include  -O3 -DDBUG_OFF -g0 -O3  /instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c
/instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c: In function `__dbenv_refresh':
/instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c:453: warning: passing arg 1 of `__cygwin_lock_fini' from incompatible pointer type
/instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c:453: error: void value not ignored as it ought to be
make[3]: *** [env_open.o] Error 1
make[3]: Leaving directory `/instsoft/mysql/mysql-4.0.20/.build/bdb/build_unix'

It works ok to build BDB with gcc-3.3.x, any ideas how to resolve this?

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/