Re: gcc3.3 compliance

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: gcc3.3 compliance
Date: 2003-06-13 09:21:16
Message-ID: 200306131121.17170.jm.poure@freesurf.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Friday 13 June 2003 10:42, Dave Page wrote:
> Fixes Win32 but Linux is broken again. Incidently, snake has gcc 3.2.2,
> not 3.3.

This does not seem to be a gcc 3.2/3.3 issue. On both RedHat 9 (gcc 3.2) and
SuSE 8.2 (gcc 3.3), the error is the same:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/pgsql
-I/space/pgadmin/wxGTK/install/lib/wx/include/gtk2ud-2.5
-I/space/pgadmin/wxGTK/install/include -D__WXDEBUG__ -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/space/pgadmin/wxGTK/install/include
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I./include/ -I
-g -O2 -MT pgSet.o -MD -MP -MF ".deps/pgSet.Tpo" \
-c -o pgSet.o `test -f 'db/pgSet.cpp' || echo './'`db/pgSet.cpp; \
then mv ".deps/pgSet.Tpo" ".deps/pgSet.Po"; \
else rm -f ".deps/pgSet.Tpo"; exit 1; \
fi
db/pgSet.cpp: In member function `long int pgSet::GetLong(const wxString&)':
db/pgSet.cpp:123: error: choosing `long int pgSet::GetLong(int) const' over `
long int pgSet::GetLong(const wxString&)'
db/pgSet.cpp:123: error: because worst conversion for the former is better
than worst conversion for the latter
make[2]: *** [pgSet.o] Error 1
make[2]: Leaving directory `/space/pgadmin/pgadmin3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/space/pgadmin/pgadmin3'
make: *** [all] Error 2

Cheers,
Jean-Michel

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Marc Cuypers 2003-06-13 09:53:59 graphical sql-query builder
Previous Message Dave Page 2003-06-13 08:42:06 Re: gcc3.3 compliance