Re: Build error under SuSE 8.2

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <jm(at)poure(dot)com>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Build error under SuSE 8.2
Date: 2003-10-01 12:42:19
Message-ID: 03AF4E498C591348A42FC93DEA9661B844B71A@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm(at)poure(dot)com]
> Sent: 01 October 2003 13:07
> To: pgadmin-hackers(at)postgresql(dot)org
> Subject: [pgadmin-hackers] Build error under SuSE 8.2
>
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I..
> -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall
> -g -I../src/include -I../src/agent/include -I -DSSL
> -I/usr/include/pgsql
> -I/usr/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__ -D__WXGTK__
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include
> -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include
> -I../src/agent/include -I -Wall -g -O0 -MT pgaStep.o -MD -MP -MF
> ".deps/pgaStep.Tpo" \
> -c -o pgaStep.o `test -f 'agent/pgaStep.cpp' || echo
> './'`agent/pgaStep.cpp;
> \
> then mv ".deps/pgaStep.Tpo" ".deps/pgaStep.Po"; \
> else rm -f ".deps/pgaStep.Tpo"; exit 1; \
> fi
> agent/pgaStep.cpp: In static member function `static pgObject*
> pgaStep::ReadObjects(pgaJob*, wxTreeCtrl*, const wxString&)':
> agent/pgaStep.cpp:100: error: ISO C++ says that `wxChar
> wxString::operator[](int) const' and `wxChar&
> wxString::operator[](unsigned
> int)' are ambiguous even though the worst conversion for
> the former is
> better than the worst conversion for the latter
> agent/pgaStep.cpp:110: error: ISO C++ says that `wxChar
> wxString::operator[](int) const' and `wxChar&
> wxString::operator[](unsigned
> int)' are ambiguous even though the worst conversion for
> the former is
> better than the worst conversion for the latter
> make[2]: *** [pgaStep.o] Error 1
> make[2]: Leaving directory
> `/usr/src/packages/BUILD/pgadmin3-1.0.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/packages/BUILD/pgadmin3-1.0.1'
> make: *** [all] Error 2

Something wrong with your CVS repository? Those files (agent/*) are not
in the 1.0.1 branch which you seem to be compiling.

Regards, Dave.

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-10-01 13:37:26 utffile.cpp & expatd.lib
Previous Message Stefan Csomor 2003-10-01 12:35:51 Re: pgAdmin III under wxCocoa