patch for pgadmin3
От | Andy Burns |
---|---|
Тема | patch for pgadmin3 |
Дата | |
Msg-id | 43CC19AC.80304@adslpipe.co.uk обсуждение исходный текст |
Ответы |
Re: patch for pgadmin3
|
Список | 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 по дате отправления: