Re: Questions about warnings

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Questions about warnings
Дата
Msg-id 45B8B928.9090801@dunslane.net
обсуждение исходный текст
Ответ на Re: Questions about warnings  (Gavin Sherry <swm@alcove.com.au>)
Список 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.
>
> http://mirror.ethereal.com/lists/ethereal-dev/200502/msg00170.html
>
>
>   

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

cheers

andrew





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: WAL Record Header Size Reduction
Следующее
От: Joe Conway
Дата:
Сообщение: crash on 8.2 and cvshead - failed to add item to the left sibling