Re: cast pid_t to int when using *printf

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: cast pid_t to int when using *printf
Дата
Msg-id 4153CE20.6010500@opencloud.com
обсуждение исходный текст
Ответ на Re: cast pid_t to int when using *printf  (Neil Conway <neilc@samurai.com>)
Ответы Re: cast pid_t to int when using *printf
Список pgsql-patches
Neil Conway wrote:
> On Fri, 2004-09-24 at 16:51, Oliver Jowett wrote:
>
>>gcc (3.2.3 on Solaris 9) warns about a couple of places where a pid_t is
>>formatted with %d by a printf-family function.
>
>
> For curiosity's sake, what formatting escape does gcc prefer?

I don't think there is an escape for pid_t, you always have to cast it.

-O

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: cast pid_t to int when using *printf
Следующее
От: "Michael Paesold"
Дата:
Сообщение: Re: psql: rollback only last query on error