|
From: Duncan M. <dwm...@gm...> - 2007-08-29 02:47:49
|
---------- Forwarded message ---------- From: Duncan McQueen <dwm...@gm...> Date: Aug 28, 2007 8:20 PM Subject: Re: [libdbi-devel] Compilation of MySQL driver under MingW To: Markus Hoenicka <mar...@mh...> Attached is my patch (let me know if it isn't quite correct - made it using cvs diff). I had to modify the Makefile.w32 to add sqlite3. However, I tested this on a simple application and it worked. Therefore, we should have support for sqlite3, mysql, postgres and possibly freetds (if I can ever test it) native on Windows under MinGW. This is very exciting (to me, at least). On 8/28/07, Duncan McQueen <dwm...@gm...> wrote: > On 8/28/07, Markus Hoenicka <mar...@mh...> wrote: > > Quoting Duncan McQueen <dwm...@gm...>: > > > > > Part of the problem may be I am compiling using GCC 4.2.1 - and > > > excessive warning messages seem to be the norm there. My dbd.h is > > > from CVS as of two days ago. > > > > > > > In that case it might help to manually cast the int variable to const > > int, like this: > > > > _dbd_internal_error_handler(conn, "could not open database", (const > > int) sqlite3_errcode); > > > > Does your GCC like this better? > > > > > > I will check tonight on both of these. > > > > I will look on the POSIX_PATH_MATH and try to add it. I know I have > > > seen other source where it was defined as you mentioned. > > > > > >> ifndef _POSIX_PATH_MAX > > >> #define _POSIX_PATH_MAX 512 > > >> endif > > >> > > > > This should of course read: > > > > #ifndef _POSIX_PATH_MAX > > #define _POSIX_PATH_MAX 512 > > #endif > > > > regards, > > Markus > > > > -- > > Markus Hoenicka > > mar...@ca... > > (Spam-protected email: replace the quadrupeds with "mhoenicka") > > http://www.mhoenicka.de > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > libdbi-devel mailing list > > lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libdbi-devel > > > |