Skip site navigation (1) Skip section navigation (2)

Re: wxWidgets 2.9.2 compatibility

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: wxWidgets 2.9.2 compatibility
Date: 2011-07-13 09:27:54
Message-ID: CAEYLb_X6BfZeDxV=bwvEU9Td-r35Us_+s5=xC0CCZDHNMYQSzQ@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On 12 July 2011 17:45, Dave Page <dpage(at)pgadmin(dot)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

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2011-07-13 13:39:46
Subject: Re: wxWidgets 2.9.2 compatibility
Previous:From: Dave PageDate: 2011-07-13 07:31:41
Subject: Re: wxWidgets 2.9.2 compatibility

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group