Re: pgadmin3 beta3 build failure at wxMBConv::MB2WC()

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: pgadmin3 beta3 build failure at wxMBConv::MB2WC()
Дата
Msg-id 41766BF2.4060307@pse-consulting.de
обсуждение исходный текст
Ответ на pgadmin3 beta3 build failure at wxMBConv::MB2WC()  (steve fox <steve@wiscota.net>)
Список pgadmin-support
steve fox wrote:
> Hi,
> 
> I'm running gentoo linux, 2.6.8 kernel, i686-pc-linux-gnu-3.4.2.  I've 
> installed wxWindows per the instructions on
> 
> http://www.pgadmin.org/pgadmin3/download.php ,
> 
> and I get this error while running the 'make' command of the pgadmin3 
> build.  I get the same error with older beta versions as well; 
> re-installing wxWidgets doesn't help:
> 
> utils/utffile.cpp: In member function `off_t wxUtfFile::Read(wxString&, 
> off_t)':
> utils/utffile.cpp:86: error: no matching function for call to 
> `wxMBConv::MB2WC(wxStringBuffer, char*&, unsigned int)'
> /usr/local/include/wx-2.5/wx/strconv.h:46: note: candidates are: virtual 
> size_t wxMBConv::MB2WC(wchar_t*, const char*, size_t) const

Try casting to help the compiler guessing that the only available method 
is the on meant: MB2WC((wxChar*)...

I'd consider this a gcc3.4 bug: wxStringBuffer has a wxChar*() operator, 
resolving the first argument (this should happen automatically), buffer 
is a char* which should be usable as const char* perfectly legal, and 
unsigned int used as size_t param doesn't look too exotic too.

Not the first weird thing from gcc 3.4...

Regards,
Andreas


В списке pgadmin-support по дате отправления:

Предыдущее
От: steve fox
Дата:
Сообщение: pgadmin3 beta3 build failure at wxMBConv::MB2WC()
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: Bug: PGAdmin + plpythonu + windows