> -----Original Message----- > From: Andreas Pflug [mailto:[EMAIL PROTECTED] > Sent: 13 June 2003 09:09 > To: Dave Page; [EMAIL PROTECTED]; 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. ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html