Re: gcc3.3 compliance - Mailing list pgadmin-hackers

From Dave Page
Subject Re: gcc3.3 compliance
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B83AF112@mail.vale-housing.co.uk
Whole thread Raw
In response to gcc3.3 compliance  (Jean-Michel POURE <jm.poure@freesurf.fr>)
List pgadmin-hackers

> -----Original Message-----
> From: Andreas Pflug [mailto:Andreas.Pflug@web.de]
> Sent: 13 June 2003 09:09
> To: Dave Page; pgadmin-hackers@postgresql.org; Jean-Michel POURE
> Subject: Re: [pgadmin-hackers] gcc3.3 compliance
>
>
> Dave Page wrote:
>
> This fix breaks win32 compilation, and I really don't know
> what kind of
> foolishness gcc does here. All GetXXX pairs are defined equally, but
> only GetLong will show that problem.
> The argument to GetLong is an int, and ColNumber returns int, that
> should make a perfect fit. With the fix applied, msdev will complain
> "two similar conversions". Maybe it helps if all GetXXX(int)
> are defined
> as GetXXX(const int); please check this.

Hmm, see what you mean. In my bleary-eyed attempt to fix it I misread
the code and managed to fix it for me with a non-fix!

I'll try the const fix...

Regards, Dave.

pgadmin-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: gcc3.3 compliance
Next
From: "Dave Page"
Date:
Subject: Re: gcc3.3 compliance