On Sun, May 01, 2005 at 02:13:25PM +0200, Andreas Volz wrote:
> I could compile the examples only if I comment some lines. g++ doesn't
> like the what() call. See the message from g++:
> I use mysql++-1.7.26. Why does this happen? I looked into the
> exception.h and there's a what() call. So I don't understand why it
> doesn't work.
That version still had the old style mysql++ exceptions. If you want
the standard ones, you need to build with --use-exception specified on
the ./configure command line.
Or, just upgrade to 1.7.34, which uses only C++ std::exception-style