From 6d7c18f1119de8941c7055910e55c13c411eeb92 Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 9 Feb 2011 01:33:33 +0000 Subject: Fix the build system to do dependencies properly Break down libodbcpp into a set of base classes; libdbpp Add a native PostgreSQL implementation of libdbpp; libpqpp Extend project2 rdbms stuff to work with generic connectors Update datasources to specify connector type Build libmisc as .so --- libodbcpp/error.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libodbcpp/error.h') diff --git a/libodbcpp/error.h b/libodbcpp/error.h index 73fa3bc..f3a2f79 100644 --- a/libodbcpp/error.h +++ b/libodbcpp/error.h @@ -4,14 +4,13 @@ #include #include #include +#include "../libdbpp/error.h" namespace ODBC { - class Error : public std::exception { + class Error : public DB::Error { public: - Error(RETCODE err, SQLSMALLINT handletype, SQLHANDLE handle, char const * action, ...) - __attribute__((format(printf, 5, 6))); - Error(char const * action, ...) - __attribute__((format(printf, 2, 3))); + Error(RETCODE err, SQLSMALLINT handletype, SQLHANDLE handle, char const * action); + Error(char const * action); ~Error() throw(); const char * what() const throw(); -- cgit v1.2.3