Skip site navigation (1) Skip section navigation (2)

Re: Questions about warnings

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Gavin Sherry <swm(at)alcove(dot)com(dot)au>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Questions about warnings
Date: 2007-01-25 14:05:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Gavin Sherry wrote:
> On Thu, 25 Jan 2007, Magnus Hagander wrote:
>> I'm looking over the VC build trying to eliminate what warnings are
>> left. One thing that appears in a couple of places is stuff like:
>> .\src\bin\psql\print.c(2014): warning C4090: 'function' : different
>> 'const' qualifiers
> Seems like other projects have encountered this problem. Looks like a
> simple type difference. Casting to (void *) should fix it.

But note that Tom recently (correctly) chided me thus:
> Oh, and casting away const gets no points for style.



In response to

pgsql-hackers by date

Next:From: Joe ConwayDate: 2007-01-25 14:41:34
Subject: crash on 8.2 and cvshead - failed to add item to the left sibling
Previous:From: Heikki LinnakangasDate: 2007-01-25 14:04:58
Subject: Re: WAL Record Header Size Reduction

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group