5 messages in com.mysql.lists.plusplusRe: Name colision with OpenGL and mys...
FromSent OnAttachments
Lonnie Cumberland29 Jan 2001 12:40 
Thimble Smith31 Jan 2001 09:57 
David Birchfield31 Jan 2001 12:07 
Thimble Smith31 Jan 2001 12:18 
David Birchfield01 Feb 2001 19:26 
Subject:Re: Name colision with OpenGL and mysql++
From:David Birchfield (da@music.columbia.edu)
Date:02/01/2001 07:26:07 PM
List:com.mysql.lists.plusplus

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