Thread: New pgadmin3 compile error

New pgadmin3 compile error

From
"Adam H. Pendleton"
Date:
I now get the following compile error on linux when compiling the most
recent CVS version:

utils/misc.cpp: In function `wxString NumToStr(double)':
utils/misc.cpp:133: choosing `wxChar wxString::operator[](int) const' over `
   wxChar& wxString::operator[](unsigned int)'
utils/misc.cpp:133:   because worst conversion for the former is better than
   worst conversion for the latter
make: *** [utils/misc.o] Error 1

ahp


Re: New pgadmin3 compile error

From
"Dave Page"
Date:

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 15 May 2003 21:36
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] New pgadmin3 compile error
>
>
> I now get the following compile error on linux when compiling
> the most
> recent CVS version:
>
> utils/misc.cpp: In function `wxString NumToStr(double)':
> utils/misc.cpp:133: choosing `wxChar
> wxString::operator[](int) const' over `
>    wxChar& wxString::operator[](unsigned int)'
> utils/misc.cpp:133:   because worst conversion for the former
> is better than
>    worst conversion for the latter
> make: *** [utils/misc.o] Error 1

Sorry, gcc is a bit more picky than VC++. Fixed now.

Regards, Dave.