Package: pgadmin3
Version: 1.4.1-1
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is attached.


> Automatic build of pgadmin3_1.4.1-1 on bigsur by sbuild/mips 1.106
...
> mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  
> -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -Wno-non-virtual-dtor 
> -I../src/include -I../src/agent/include -I../src/slony/include 
> -I/usr/include/postgresql -I./include -DSSL 
> -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 
> -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -O2 -DDATA_DIR=\"/usr/share/pgadmin3/\" 
> -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include 
> -I../src/slony/include  -c -o pgAggregate.o `test -f 
> './schema/pgAggregate.cpp' || echo './'`./schema/pgAggregate.cpp
> /usr/include/wx-2.6/wx/hashmap.h: In member function 
> 'wxLongToLongHashMap_wxImplementation_HashTable::Node** 
> wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) 
> const':
> /usr/include/wx-2.6/wx/hashmap.h:684: warning: dereferencing type-punned 
> pointer will break strict-aliasing rules
> /usr/include/wx-2.6/wx/gdicmn.h: In member function 
> 'wxStringToColourHashMap_wxImplementation_HashTable::Node** 
> wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const 
> wxString&) const':
> /usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned 
> pointer will break strict-aliasing rules
> /usr/include/wx-2.6/wx/image.h: In member function 
> 'wxImageHistogramBase_wxImplementation_HashTable::Node** 
> wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long 
> unsigned int&) const':
> /usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned 
> pointer will break strict-aliasing rules
> ../src/include/pgSchema.h: At global scope:
> ../src/include/pgSchema.h:88: error: extra qualification 'pgSchemaObject::' 
> on member 'pgSchemaObject'
> make[3]: *** [pgAggregate.o] Error 1
> make[3]: Leaving directory `/build/tbm/pgadmin3-1.4.1/src'


--- ./src/include/pgSchema.h~   2006-03-22 03:28:05.000000000 +0000
+++ ./src/include/pgSchema.h    2006-03-22 03:28:10.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;
--- ./xtra/pgagent/include/connection.h~        2006-03-22 03:42:01.000000000 
+0000
+++ ./xtra/pgagent/include/connection.h 2006-03-22 03:42:09.000000000 +0000
@@ -41,7 +41,7 @@
        void Return();
 
 private:
-    bool DBconn::Connect(const wxString &connectString);
+    bool Connect(const wxString &connectString);
 
 protected:
     static wxString basicConnectString;

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to