List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:November 24 2008 9:46pm
Subject:Re: RELEASE: v3.0.7
View as plain text  
On Nov 24, 2008, at 2:43 PM, Warren Young wrote:

> I've attached the patch I'm about to apply to the source tree.

Sigh...it got stripped.  Here's the essence of it in line, for one file:

Index: lib/wnp_connection.h
===================================================================
--- lib/wnp_connection.h	(revision 2422)
+++ lib/wnp_connection.h	(working copy)
@@ -95,15 +95,15 @@
  	/// \brief Provide uncallable versions of the parent class ctors we
  	/// don't want to provide so we don't get warnings about hidden
  	/// overloads with some compilers
-	WindowsNamedPipeConnection(bool);
+	WindowsNamedPipeConnection(bool) { }
  	WindowsNamedPipeConnection(const char*, const char*, const char*,
-			const char*, unsigned int);
+			const char*, unsigned int) { }

  	/// \brief Explicitly override parent class version so we don't get
  	/// complaints about hidden overloads with some compilers
  	bool connect(const char* db, const char* server,
  			const char* user, const char* password,
-			unsigned int port);
+			unsigned int port) { return false; }
  };

  You need essentially the same thing in tcp_connection.h and  
uds_connection.h.

Thread
RELEASE: v3.0.7Warren Young22 Nov
  • Re: RELEASE: v3.0.7Ernest Bori24 Nov
    • Re: RELEASE: v3.0.7Warren Young24 Nov
      • Re: RELEASE: v3.0.7Warren Young24 Nov
  • Re: RELEASE: v3.0.7Rick Gutleber24 Nov
    • Re: RELEASE: v3.0.7Warren Young24 Nov