Package: libiodbc2 Severity: normal Tags: patch When building 'libiodbc2' on amd64 with gcc-4.0, I get the following error:
cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DWITH_PTHREADS -D_REENTRANT -g -Wall -O2 -DODBCVER=0x0350 -DIODBC_BUILD=2050204 -c henv.c -MT henv.lo -MD -MP -MF .deps/henv.TPlo -fPIC -DPIC -o .libs/henv.o henv.c:286: error: static declaration of 'Done_iODBC' follows non-static declaration henv.c:100: error: previous declaration of 'Done_iODBC' was here make[3]: *** [henv.lo] Error 1 make[3]: Leaving directory `/libiodbc2-3.52.2/iodbc' With the attached patch 'libiodbc2' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/libiodbc2-3.52.2/iodbc/henv.c ./iodbc/henv.c --- ../tmp-orig/libiodbc2-3.52.2/iodbc/henv.c 2005-02-04 17:13:09.000000000 +0100 +++ ./iodbc/henv.c 2005-02-08 08:29:19.000000000 +0100 @@ -97,7 +97,7 @@ static int _iodbcdm_initialized = 0; void Init_iODBC(void); -void Done_iODBC(void); +static void Done_iODBC(void); static void -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]