patch for pgadmin3 - Mailing list pgadmin-hackers

From Andy Burns
Subject patch for pgadmin3
Date
Msg-id 43CC19AC.80304@adslpipe.co.uk
Whole thread Raw
Responses Re: patch for pgadmin3  (Andy Burns <fedora@adslpipe.co.uk>)
List pgadmin-hackers
Hi all,

I've been testing Fedora Core 5, which currently doesn't have an
up-to-date version of pgadmin3, I've tried building v1.4.1 on FC5, which
uses gcc v4.1 and needed to remove superfluous scope qualifiers from a
few method names.

It's entirely possible you've already fixed this in CVS, I didn't look
so I may have wasted my own time, but attached is my patch, works for me
as they say ...

p.s. I got *lots* of warnings about "dereferencing type-punned
pointer will break strict-aliasing rules" from wxWidgets,are these in
any way to be expected? Building on x86_64 if that makes a difference.






--- old/pgadmin3-1.4.1/src/include/pgSchema.h    2005-12-10 14:24:32.000000000 +0000
+++ new/pgadmin3-1.4.1/src/include/pgSchema.h    2006-01-16 21:32:57.000000000 +0000
@@ -85,7 +85,7 @@
     pgSchemaObject(pgSchema *newSchema, int newType, const wxString& newName = wxT("")) : pgDatabaseObject(newType,
newName)
         { SetSchema(newSchema); wxLogInfo(wxT("Creating a pg") + GetTypeName() + wxT(" object")); }

-    pgSchemaObject::~pgSchemaObject()
+    ~pgSchemaObject()
         { wxLogInfo(wxT("Destroying a pg") + GetTypeName() + wxT(" object")); }

     bool GetSystemObject() const;

--- old/pgadmin3-1.4.1/xtra/pgagent/include/connection.h    2005-12-10 14:24:39.000000000 +0000
+++ new/pgadmin3-1.4.1/xtra/pgagent/include/connection.h    2006-01-16 21:44:24.000000000 +0000
@@ -41,7 +41,7 @@
     void Return();

 private:
-    bool DBconn::Connect(const wxString &connectString);
+    bool Connect(const wxString &connectString);

 protected:
     static wxString basicConnectString;

pgadmin-hackers by date:

Previous
From: OpenMacNews
Date:
Subject: no copy from hints windows?
Next
From: "Dave Page"
Date:
Subject: Re: no copy from hints windows?