Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Re: Compile PgAdIII on OS X error

Re: Compile PgAdIII on OS X error



Patrick Hatcher 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*&, long unsigned int)'
/usr/local/include/wx-2.5/wx/strconv.h:46: error: candidates are: virtual
   size_t wxMBConv::MB2WC(wchar_t*, const char*, long unsigned int) const
make[2]: *** [utffile.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Any clues on how to fix this?

Full casting is needed on some compilers (e.g. gcc3.4), since they aren't able to perform the required casts implicitely any more.

I just commited a patch performing this.

Regards,
Andreas



Home | Main Index | Thread Index

top