|
From: Markus H. <mar...@mh...> - 2007-08-28 15:24:01
|
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 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 |