Обсуждение: can't build pgadmin from SVN

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

can't build pgadmin from SVN

От
Timon
Дата:
I can't build pgadmin from SVN with error:

./gqb/gqbBrowser.cpp: In constructor
'gqbBrowser::gqbBrowser(wxWindow*, wxWindowID, const wxPoint&, const
wxSize&, long int, gqbController*)':
./gqb/gqbBrowser.cpp:45: error: conversion from 'int' to 'const
wxTreeItemId' is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75: note: candidates are:
wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59: note:
wxTreeItemId::wxTreeItemId(void*)

but after deleting line 45 in gqbBrowser.cpp project builds fine, and
works fine too :)
Is this my problem?

Fedora 10
--
All bugs reserved

Re: can't build pgadmin from SVN

От
Dave Page
Дата:
On Thu, Feb 26, 2009 at 7:20 PM, Timon <timosha@gmail.com> wrote:
> I can't build pgadmin from SVN with error:
>
> ./gqb/gqbBrowser.cpp: In constructor
> 'gqbBrowser::gqbBrowser(wxWindow*, wxWindowID, const wxPoint&, const
> wxSize&, long int, gqbController*)':
> ./gqb/gqbBrowser.cpp:45: error: conversion from 'int' to 'const
> wxTreeItemId' is ambiguous
> /usr/include/wx-2.8/wx/treebase.h:75: note: candidates are:
> wxTreeItemId::wxTreeItemId(long int)
> /usr/include/wx-2.8/wx/treebase.h:59: note:
> wxTreeItemId::wxTreeItemId(void*)
>
> but after deleting line 45 in gqbBrowser.cpp project builds fine, and
> works fine too :)
> Is this my problem?
>
> Fedora 10

I just tried a build from SVN on a clean F10 x86_64 install, using the
Fedora PostgreSQL and wxWidgets packages and it worked perfectly.

What version of pgAdmin & wxWidgets aetc are you using?

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com