Thanks for the suggestion.
I did try including #define MYSQL_NO_SHORT_NAMES before including
sqlplus.hh but received the following compilation error:
/usr/include/sqlplus.hh:79: undef_short: No such file or directory
and in fact I can't find it. Should I have this file somewhere?
Thanks in advance!
David
On Wed, 31 Jan 2001, Thimble Smith wrote:
On Wed, Jan 31, 2001 at 03:08:20PM -0500, David Birchfield wrote:
I am trying to compile code which includes OpenGL libs and MySQL++ and I
get this error:
In file included from /usr/X11R6/include/X11/Xlib.h:56,
from /usr/X11R6/include/GL/glx.h:33,
from displayWin.h:10,
from ImageGetter.h:9,
from ImageGetter.cpp:1:
/usr/X11R6/include/X11/X.h:72: conflicting types for `typedef long
unsigned int MysqlTime'
/usr/include/datetime1.hh:123: previous declaration as `struct MysqlTime'
Try:
#define MYSQL_NO_SHORT_NAMES
before you include <sqlplus.h>
http://music.columbia.edu/~dab
http://mojobisquits.com