Yes I am using 1.7.10.
As you suggested, I add try {} catch(...) {} inside
Connection::connect() and build it. It still crashes simple1.
From the build trace, I saw the Makefile is using "../libtool" which
comes with the mysql++ distribution. Compare it with libtool on my
Solaris, they are definitely different. I am going to change to use the
libtool in my solaris to rebuild the whole package.
Is this correct?
Thanks
Yigong
-----Original Message-----
From: Warren Young [mailto:mysqlpp@stripped]
Sent: Tuesday, August 17, 2004 4:25 PM
To: MySQL++ Mailing List
Subject: Re: exception problem when building on solaris 2.8 with gcc
3.3.2
Liu, Yigong wrote:
> It
> seems it is not doing the straight forward compiling using g++, but
did
> some tricks with libtool etc.
libtool is just a shell script that wraps up the knowledge of how to
build libraries on various systems. SysV does it different from Linux,
which does it different from stock BSD, which does it different from
MacOS, which.... You see the problem it solves.
If you look at the line right below each libtool line, you see what g++
command libtool emits. There's no particularly obscure magic going on
here.
> How could I get a Makefile for just a
> simple g++ compile/link of mysql++ lib???
You could try rolling your own, just to test your theory.
Another thing you might try is adding a try block within the connect
function, just to see if the exception problem has to do with the
exception crossing stack frames.
Also, do I assume correctly that you're using the new 1.7.10 release?
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=1
------------------------------------------------------------------------------------------------
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise private information.
If you have received it in error, please notify the sender
immediately and delete the original. Any unauthorized use of
this email is prohibited.
------------------------------------------------------------------------------------------------
[mf2]