pgAdmin3
pgAdmin3 copied to clipboard
frm/frmQuery.cpp:2341:26: error: no matching function for call to ‘ctlSQLBox::StartStyling(int)’
Hi, I'm trying to get the pgadmin3 package updated in Debian. Unfortunately, your version doesn't compile:
g++ -DHAVE_CONFIG_H -I. -I.. -I../pgadmin/include/libssh2 -DDATA_DIR=\"/usr/share/pgadmin3/\" -I../pgadmin/include -I../pgadmin/include/libssh2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/postgresql -I/usr/include/postgresql/12/server -I/usr/include/postgresql -DHAVE_CONNINFO_PARSE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2 -DHAVE_GCRYPT -g -O2 -fdebug-prefix-map=/home/cbe/projects/postgresql/pgadmin3/pgadmin3=. -fstack-protector-strong -Wformat -Werror=format-security -g -c -o frm/frmPgpassConfig.o frm/frmPgpassConfig.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I../pgadmin/include/libssh2 -DDATA_DIR=\"/usr/share/pgadmin3/\" -I../pgadmin/include -I../pgadmin/include/libssh2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/postgresql -I/usr/include/postgresql/12/server -I/usr/include/postgresql -DHAVE_CONNINFO_PARSE -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2 -DHAVE_GCRYPT -g -O2 -fdebug-prefix-map=/home/cbe/projects/postgresql/pgadmin3/pgadmin3=. -fstack-protector-strong -Wformat -Werror=format-security -g -c -o frm/frmQuery.o frm/frmQuery.cpp
frm/frmQuery.cpp: In member function ‘void frmQuery::OnExecScript(wxCommandEvent&)’:
frm/frmQuery.cpp:2341:26: error: no matching function for call to ‘ctlSQLBox::StartStyling(int)’
2341 | sqlQuery->StartStyling(0);
| ^
In file included from ../pgadmin/include/ctl/ctlSQLBox.h:17,
from ../pgadmin/include/pgAdmin3.h:28,
from frm/frmQuery.cpp:12:
/usr/include/wx-3.0/wx/stc/stc.h:2640:10: note: candidate: ‘void wxStyledTextCtrl::StartStyling(int, int)’
2640 | void StartStyling(int pos, int mask);
| ^~~~~~~~~~~~
/usr/include/wx-3.0/wx/stc/stc.h:2640:10: note: candidate expects 2 arguments, 1 provided
frm/frmQuery.cpp: In member function ‘void frmQuery::execQuery(const wxString&, int, bool, int, bool, bool, bool)’:
frm/frmQuery.cpp:2495:26: error: no matching function for call to ‘ctlSQLBox::StartStyling(int)’
2495 | sqlQuery->StartStyling(0);
| ^
In file included from ../pgadmin/include/ctl/ctlSQLBox.h:17,
from ../pgadmin/include/pgAdmin3.h:28,
from frm/frmQuery.cpp:12:
/usr/include/wx-3.0/wx/stc/stc.h:2640:10: note: candidate: ‘void wxStyledTextCtrl::StartStyling(int, int)’
2640 | void StartStyling(int pos, int mask);
| ^~~~~~~~~~~~
/usr/include/wx-3.0/wx/stc/stc.h:2640:10: note: candidate expects 2 arguments, 1 provided
frm/frmQuery.cpp: In member function ‘void frmQuery::OnQueryComplete(pgQueryResultEvent&)’:
frm/frmQuery.cpp:2865:32: error: no matching function for call to ‘ctlSQLBox::StartStyling(int&)’
2865 | sqlQuery->StartStyling(sPos);
| ^
In file included from ../pgadmin/include/ctl/ctlSQLBox.h:17,
from ../pgadmin/include/pgAdmin3.h:28,
from frm/frmQuery.cpp:12:
/usr/include/wx-3.0/wx/stc/stc.h:2640:10: note: candidate: ‘void wxStyledTextCtrl::StartStyling(int, int)’
2640 | void StartStyling(int pos, int mask);
| ^~~~~~~~~~~~
/usr/include/wx-3.0/wx/stc/stc.h:2640:10: note: candidate expects 2 arguments, 1 provided
make[5]: *** [Makefile:5954: frm/frmQuery.o] Fehler 1
make[5]: Verzeichnis „/home/cbe/projects/postgresql/pgadmin3/pgadmin3/pgadmin“ wird verlassen
Any idea? Thanks for working on keeping pgadmin3 alive!
I confirm there is such a problem