From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | steve fox <steve(at)wiscota(dot)net> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: pgadmin3 beta3 build failure at wxMBConv::MB2WC() |
Date: | 2004-10-20 13:45:22 |
Message-ID: | 41766BF2.4060307@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers 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
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2004-10-20 14:02:46 | Re: French translation |
Previous Message | steve fox | 2004-10-20 12:16:34 | pgadmin3 beta3 build failure at wxMBConv::MB2WC() |
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2004-10-20 14:10:39 | Re: Bug: PGAdmin + plpythonu + windows |
Previous Message | steve fox | 2004-10-20 12:16:34 | pgadmin3 beta3 build failure at wxMBConv::MB2WC() |