Обсуждение: Build failure on OSX 10.3 with wx 2.8.0
Hi My night build on osx 10.3.9 with wx widgest 2.8 fails with agent/pgaJob.cpp:303: error: `Refresh' undeclared (first use this function) agent/pgaJob.cpp:303: error: (Each undeclared identifier is reported only once Does anyone know a plausible cause for this, or shall I go investigating? greetings, Florian Pflug
Florian G. Pflug wrote: > Hi > > My night build on osx 10.3.9 with wx widgest 2.8 fails with > agent/pgaJob.cpp:303: error: `Refresh' undeclared (first use this function) > agent/pgaJob.cpp:303: error: (Each undeclared identifier is reported > only once > > Does anyone know a plausible cause for this, or shall I go > investigating? Can you try adding: #include <frm/frmMain.h> to the top of that file and see if that helps? (I think thats the right path, if not, adjust accordingly) Thanks, Dave
Dave Page wrote: > Florian G. Pflug wrote: >> My night build on osx 10.3.9 with wx widgest 2.8 fails with >> agent/pgaJob.cpp:303: error: `Refresh' undeclared (first use this >> function) >> agent/pgaJob.cpp:303: error: (Each undeclared identifier is reported >> only once >> >> Does anyone know a plausible cause for this, or shall I go >> investigating? > > Can you try adding: > > #include <frm/frmMain.h> > > to the top of that file and see if that helps? (I think thats the right > path, if not, adjust accordingly) Thanks - that helped. Here is the diff in case that it's important where the include is added. --- pgadmin/agent/pgaJob.cpp (revision 5818) +++ pgadmin/agent/pgaJob.cpp (working copy) @@ -15,6 +15,7 @@ // App headers #include "pgAdmin3.h" #include "utils/misc.h" +#include "frm/frmMain.h" #include "schema/pgObject.h" #include "schema/pgCollection.h" #include "schema/pgDatabase.h" greetings, Florian Pflug
Florian G. Pflug wrote: > Dave Page wrote: >> Florian G. Pflug wrote: >>> My night build on osx 10.3.9 with wx widgest 2.8 fails with >>> agent/pgaJob.cpp:303: error: `Refresh' undeclared (first use this >>> function) >>> agent/pgaJob.cpp:303: error: (Each undeclared identifier is reported >>> only once >>> >>> Does anyone know a plausible cause for this, or shall I go >>> investigating? >> >> Can you try adding: >> >> #include <frm/frmMain.h> >> >> to the top of that file and see if that helps? (I think thats the >> right path, if not, adjust accordingly) > > Thanks - that helped. Here is the diff in case that it's important where > the include is added. Thanks, fixed in SVn. Regards, Dave