mysql++ and conflicts with other libraries

2002-06-25 Thread Michael Preminger

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 
 struct minus'
/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
-- 
Michael Preminger <[EMAIL PROTECTED]>


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




parentheses () in regular expression

2001-03-02 Thread Michael Preminger

Hello!

How do I express parentheses in a mysql regexp?
For example the expression
select * from Term where Term_name regexp "^[0-9\(\)A-ZÆØÅ\s\-]+$";

NATO (MILITÆRTEKNISKE SPM)

but returns
TV2
as well as
NORDISK SAMARBEID

Thanks

Michael



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php