On 12 July 2011 17:45, Dave Page <dpage@pgadmin.org> wrote:
> So here's the patch I needed to get pgAdmin to build against wxWidgets
> 2.9.2 on Mac. The only obvious problem I see with it when running is
> that the toolbars are displaying text over the graphical buttons which
> needs further investigation.
I don't have time to help you with that at the moment I'm afraid.
> I'm not really sure why the compiler is unable to resolve this:
>
> ./slony/dlgRepCluster.cpp:815: error: request for member
> ‘GetClientData’ is ambiguous
> /usr/local/include/wx-2.9/wx/ctrlsub.h:297: error: candidates are:
> void* wxItemContainer::GetClientData(unsigned int) const
> /usr/local/include/wx-2.9/wx/event.h:3234: error:
> void* wxEvtHandler::GetClientData() const
I told you about this back in February I think, where I demonstrated
that GCC gives crappy error messages when it encounters the dastardly
diamond:
http://postgresql.1045698.n5.nabble.com/Building-with-wx2-9-on-Mac-td3397898.html#a3397998
At the time, I couldn't recreate the problem, and I speculated that it
was a bug specific to the Mac version. You said that Clang could build
it, which I thought was weird.
Anyway, I think it's going to be tough for me to diagnose the problem
without a Mac.
--
Peter Geoghegan http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services