Re: [PATCHES] Remove warning about const qualifier

2007-04-16 Thread Stefan Huehner
On Mon, Apr 16, 2007 at 02:51:55PM -0400, Tom Lane wrote: > Kris Jurka <[EMAIL PROTECTED]> writes: > > The attached patch removes this warning: > > encnames.c:511: warning: passing argument 1 of 'clean_encoding_name' > > discards qualifiers from pointer target type > > Applied, but I've not seen

Re: [PATCHES] Remove warning about const qualifier

2007-04-16 Thread Tom Lane
Kris Jurka <[EMAIL PROTECTED]> writes: > I was testing a gcc 4.3 snapshot from 3/26/07. It also complains > hba.c:1199: warning: array subscript is below array bounds > Which looks pretty bogus to me. I agree. > And then the following which may be > valid, but wasn't something I was concerned a

Re: [PATCHES] Remove warning about const qualifier

2007-04-16 Thread Kris Jurka
On Mon, 16 Apr 2007, Tom Lane wrote: Kris Jurka <[EMAIL PROTECTED]> writes: The attached patch removes this warning: encnames.c:511: warning: passing argument 1 of 'clean_encoding_name' discards qualifiers from pointer target type Applied, but I've not seen that warning myself ... what comp

Re: [PATCHES] Remove warning about const qualifier

2007-04-16 Thread Tom Lane
Kris Jurka <[EMAIL PROTECTED]> writes: > The attached patch removes this warning: > encnames.c:511: warning: passing argument 1 of 'clean_encoding_name' > discards qualifiers from pointer target type Applied, but I've not seen that warning myself ... what compiler are you using exactly?