Re: First public pre-alpha release of GQB (Graphical Query Builder) for pgAdmin
От | Dave Page |
---|---|
Тема | Re: First public pre-alpha release of GQB (Graphical Query Builder) for pgAdmin |
Дата | |
Msg-id | 937d27e10808040126h46810988h68294d0169998c20@mail.gmail.com обсуждение исходный текст |
Ответ на | First public pre-alpha release of GQB (Graphical Query Builder) for pgAdmin ("Luis Ochoa" <ziul1979@gmail.com>) |
Ответы |
Re: First public pre-alpha release of GQB (Graphical Query Builder) for pgAdmin
|
Список | pgadmin-hackers |
Hi Luis On Sun, Jul 27, 2008 at 6:13 AM, Luis Ochoa <ziul1979@gmail.com> wrote: > > Where is located the patch? > http://svn.assembla.com/svn/vsqlbuilder/Jul/27/prealpha-test-gqb-july-27.patch I'm just going to list all the issues I found here so you can work through them easily. I'm testing on a Mac today, and feeling particularly pedantic :-p. - The patch failed to apply frmQuery.h. During manual application, I found that you have app headers inbetween wx headers (wx headers should always be first), and a wx header quoted with " " instead of < >. - Some compilation warnings: ./frm/frmQuery.cpp: In constructor 'frmQuery::frmQuery(frmMain*, const wxString&, pgConn*, const wxString&, const wxString&)': ./frm/frmQuery.cpp:368: warning: unused variable 'view' ./frm/frmQuery.cpp: In constructor 'frmQuery::frmQuery(frmMain*, const wxString&, pgConn*, const wxString&, const wxString&)': ./frm/frmQuery.cpp:368: warning: unused variable 'view' ./frm/frmQuery.cpp: In member function 'void frmQuery::OnChangeConnection(wxCommandEvent&)': ./frm/frmQuery.cpp:881: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime ./frm/frmQuery.cpp: In member function 'void frmQuery::OnTest3(wxNotebookEvent&)': ./frm/frmQuery.cpp:1027: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime ./frm/frmQuery.cpp: In member function 'void frmQuery::OnChangeConnection(wxCommandEvent&)': ./frm/frmQuery.cpp:881: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime ./frm/frmQuery.cpp: In member function 'void frmQuery::OnTest3(wxNotebookEvent&)': ./frm/frmQuery.cpp:1027: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime (The last four *will* cause crashes - normally you just add .c_str() to any wxString arguments passed as arguments to variadic functions). <hits brick wall> Following that, I ran into the same errors as Guillaume. Please supply an updated patch, that uses only wxWidgets controls (using GTK classes definitely isn't going to work on Mac). -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com
В списке pgadmin-hackers по дате отправления: