Re: gcc3.3 compliance

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <jm(dot)poure(at)freesurf(dot)fr>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: gcc3.3 compliance
Date: 2003-06-12 15:09:15
Message-ID: 03AF4E498C591348A42FC93DEA9661B844B058@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Can you CVS update please? I fixed that yesterday (unless someone
un-fixed it again).

Regards, Dave.

> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm(dot)poure(at)freesurf(dot)fr]
> Sent: 12 June 2003 15:27
> To: pgadmin-hackers(at)postgresql(dot)org
> Subject: [pgadmin-hackers] gcc3.3 compliance
>
>
> Dear all,
>
> SuSE 82 comes with gcc 3.3 installed by defaut, which is much
> strict then gcc
> 3.2. For example, here is a compilation error:
>
> 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
>
> Does it ring a bell to anyone?
> Cheers, Jean-Michel
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
http://archives.postgresql.org

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-06-12 15:09:54 Re: Configure patch
Previous Message Jean-Michel POURE 2003-06-12 14:28:15 Re: Configure patch