6 messages in com.mysql.lists.plusplusmysql++ and conflicts with other libr...
FromSent OnAttachments
Michael Preminger25 Jun 2002 05:41 
Michael Preminger25 Jun 2002 06:24 
Michael Preminger26 Jun 2002 00:31 
Michael Preminger26 Jun 2002 02:43 
Michael Preminger26 Jun 2002 02:47 
Michael Preminger26 Jun 2002 03:54 
Subject:mysql++ and conflicts with other libraries
From:Michael Preminger (mich@jbi.hio.no)
Date:06/25/2002 05:41:52 AM
List:com.mysql.lists.plusplus

I am using the mysql++ , along with another library (matlib)

I am getting quite many errors of the type:

/usr/include/g++-2/stl_function.h:55: previous non-function declaration
`template <class T> struct minus<T>' /usr/local/src/matcom/matlib.h:2385: conflicts with function declaration `class
Mm minus(const class Mm &)'

1. May this be a consequence of some erroneous useage? I have g++ 2.96 (egcs) on Linux redhat. I am simply following the examples in the tutorial

2. Is there a workaround other than retrofitting one of the libraries?

Thanks

Michael