Re: compile problem - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: compile problem
Date
Msg-id 41050409.5000206@pse-consulting.de
Whole thread Raw
In response to Re: compile problem  (Devrim GUNDUZ <devrim@gunduz.org>)
List pgadmin-support
Devrim GUNDUZ wrote:
> utils/utffile.cpp: In member function `off_t wxUtfFile::Read(wxString&, 
> long
>    long int)':
> utils/utffile.cpp:86: error: no matching function for call to 
> `wxMBConv::MB2WC(
>    wxStringBuffer, char*&, unsigned int)'
> /usr/local/include/wx/strconv.h:46: error: candidates are: virtual size_t
>    wxMBConv::MB2WC(wchar_t*, const char*, unsigned int) const

This seems to be a compililer weirdness; at least, that part isn't 
changed for quite a while.

buffer is clearly a char*, which should convert smoothly to a const 
char*. Please hit your compiler with a hammer (which version is that?), 
try a cast and tell us how it works.

Regards,
Andreas


pgadmin-support by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: compile problem
Next
From: Andreas Pflug
Date:
Subject: Re: Schemas causing problems :(