Hi again,
In mysql++.hh, it does a "using namespace mysqlpp;" before including the files,
and so the compiler gives a warning about not knowing what that namespace is.
This patch fixes the order. It assumes the previous patch (#include "file.h")
has already been applied.
- Chris
diff -ru mysql++-1.7.25-1/lib/mysql++.hh mysql++-1.7.25-2/lib/mysql++.hh
--- mysql++-1.7.25-1/lib/mysql++.hh 2004-12-16 13:29:36.000000000 -0500
+++ mysql++-1.7.25-2/lib/mysql++.hh 2004-12-16 13:42:11.000000000 -0500
@@ -1,3 +1,3 @@
#warning This header is obsolete. Please use mysql++.h instead.
-using namespace mysqlpp;
#include "mysql++.h"
+using namespace mysqlpp;
diff -ru mysql++-1.7.25-1/lib/sqlplus.hh mysql++-1.7.25-2/lib/sqlplus.hh
--- mysql++-1.7.25-1/lib/sqlplus.hh 2004-12-16 13:29:44.000000000 -0500
+++ mysql++-1.7.25-2/lib/sqlplus.hh 2004-12-16 13:42:18.000000000 -0500
@@ -1,3 +1,3 @@
#warning This header is obsolete. Please use mysql++.h instead.
-using namespace mysqlpp;
#include "mysql++.h"
+using namespace mysqlpp;