Build failure on OSX 10.3 with wx 2.8.0

Поиск
Список
Период
Сортировка
Искать

Build failure on OSX 10.3 with wx 2.8.0

От:
"Florian G. Pflug" <fgp@phlo.org>
Дата:
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

Re: Build failure on OSX 10.3 with wx 2.8.0

От:
Dave Page <dpage@postgresql.org>
Дата:
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 

to the top of that file and see if that helps? (I think thats the right 
path, if not, adjust accordingly)

Thanks, Dave

Re: Build failure on OSX 10.3 with wx 2.8.0

От:
"Florian G. Pflug" <fgp@phlo.org>
Дата:
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 
> 
> 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

Re: Build failure on OSX 10.3 with wx 2.8.0

От:
Dave Page <dpage@postgresql.org>
Дата:
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 
>>
>> 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
FAQ