Re: Build error under SuSE 8.2 - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Build error under SuSE 8.2
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B844B71A@mail.vale-housing.co.uk
Whole thread Raw
In response to Build error under SuSE 8.2  (Jean-Michel POURE <jm@poure.com>)
List pgadmin-hackers

> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm@poure.com]
> Sent: 01 October 2003 13:07
> To: pgadmin-hackers@postgresql.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.

pgadmin-hackers by date:

Previous
From: "Stefan Csomor"
Date:
Subject: Re: pgAdmin III under wxCocoa
Next
From: "Dave Page"
Date:
Subject: utffile.cpp & expatd.lib